71 Commits

Author SHA1 Message Date
InspIRCd Robot
0c6f97d7e9 Update copyright headers. 2024-08-03 12:39:33 +01:00
Sadie Powell
a4bee21ab5 Update all usages of ProtocolServer to use Server. 2024-07-24 00:31:34 +01:00
InspIRCd Robot
ae3e2db109 Update copyright headers. 2024-06-07 10:37:56 +01:00
Sadie Powell
ea85c0c6ba Fix casing of metadata in function and event names.
Metadata is one word not two so it shouldn't be capitalised like this.
2023-05-30 02:38:25 +01:00
Sadie Powell
cadf228c3e Convert various enums to strongly typed scoped enums. 2023-01-22 22:36:31 +00:00
Sadie Powell
d048778f78 Merge branch 'insp3' into master. 2023-01-01 13:19:45 +00:00
InspIRCd Robot
2b810b412a Update copyright headers. 2022-12-30 11:31:28 +00:00
Sadie Powell
5e44188857 More const correctness work. 2022-12-08 10:19:47 +00:00
Sadie Powell
41926908ec Fix some types which were missed when making stuff final. 2022-10-30 12:58:38 +00:00
Sadie Powell
648f813f8c Switch from NULL to nullptr. 2022-07-22 18:53:21 +01:00
Sadie Powell
4cfc311591 Slim down the protocol interface for sending metadata. 2022-01-31 12:01:39 +00:00
Sadie Powell
d79147e7af Abolish the infernal space before accessibility keywords. 2022-01-25 14:02:36 +00:00
Dominic Hamon
02340285c5
Added -Wshorten-64-to-32 and fixed all warnings. 2021-05-30 20:37:54 +01:00
Sadie Powell
7d84e4900f Fix a ton of pedantic compiler warnings. 2021-04-04 23:42:15 +01:00
Sadie Powell
834c11f6e9 Add support for syncing metadata set on memberships.
No compat logic is required here as existing servers will just drop
the unknown METADATA message when they can't find the target.
2021-04-01 19:03:40 +01:00
Sadie Powell
e76b208ce8 Merge branch 'insp3' into master. 2021-03-05 09:54:26 +00:00
Sadie Powell
2ba32afa9a Fix a bunch of really obvious unnecessary includes. 2021-03-05 09:17:13 +00:00
Sadie Powell
579a17df38 Clean up a bunch of contructors and destructors. 2020-11-01 02:22:41 +00:00
Sadie Powell
b755d2a778 Merge branch 'insp3' into master. 2020-05-05 22:03:14 +01:00
InspIRCd Robot
4f9abe96a4 Fixes by misspell-fixer 2020-04-21 00:52:12 -06:00
Sadie Powell
1de6f5b4a9 Merge branch 'insp3' into master. 2020-01-17 12:36:09 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Sadie Powell
034dad6ab0 Merge branch 'insp3' into master. 2019-12-08 17:47:07 +00:00
Peter Powell
2ec7654267 Deprecate Send{Channel,User}Notice; use SendMessage instead. 2019-11-17 22:37:24 +00:00
Robby
e57d1b19ff Textual improvements and fixes such as typos, casing, etc. (#1612) 2019-04-28 09:14:21 +01:00
Peter Powell
384ef31bc0 Use CommandBase::Params instead of std::vector<std::string>.
This is presently a typedef but will soon be replaced with a class
that encapsulates both tags and parameters.
2018-07-26 20:12:14 +01:00
genius3000
e6db1df5a6 Change ServerInfo::gecos to description 2018-04-11 18:59:17 +01:00
Attila Molnar
932748db6d Remove unused ProtocolInterface::SendTopic() 2016-03-30 12:40:12 +02:00
Attila Molnar
804d58e200 Remove ProtocolInterface::PushToClient() 2016-03-30 12:38:36 +02:00
Attila Molnar
b9006ce3cb Remove ProtocolInterface::SendMode() 2014-09-03 14:28:13 +02:00
Attila Molnar
3fef0ed889 Add ProtocolInterface::BroadcastEncap() and infrastructure for manually forwarding ENCAPs 2014-01-26 13:12:01 +01:00
Attila Molnar
92cc388aeb ProtocolInterface::SendEncapsulatedData() changes
- Pass command name and destination as real parameters
- Allow callers to specify the command source
- Send a SID instead of a server name if the target is a single server
2014-01-26 13:05:09 +01:00
Attila Molnar
a500ec70bb Change type of snomask parameter to char in ProtocolInterface::SendSNONotice() 2014-01-04 19:43:04 +01:00
attilamolnar
cc74fb0be4 Pass an interface to the OnSync hooks
Remove Module::ProtoSendMetaData()
2013-09-13 12:15:44 +02:00
attilamolnar
02220d48ee Split ProtocolInterface::SendMetaData() into multiple functions 2013-09-13 12:15:44 +02:00
attilamolnar
ba7431b4fd Hide all symbols that aren't exported explicitly
In addition to reducing the sizes of all binaries this also helps the optimizer
2013-09-08 17:21:37 +02:00
attilamolnar
61d586b1a3 Clean up the protocol interface 2013-08-25 13:41:36 +02:00
attilamolnar
3624c137a6 Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicate local only mode changes and mode merges
Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global

This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.)
2013-06-13 18:15:34 +02:00
Peter Powell
11cafc12d5 Tidy up source files:
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
2013-04-12 17:03:05 +01:00
Peter Powell
808a0a0957 Fix Doxygen syntax errors. 2012-07-05 21:00:35 +01:00
Robby-
46a3904619 Replace copyright headers with headers granting specific authors copyright 2012-04-19 20:58:29 +02:00
Justin Crawford
df5f76832e Fixes for bug #12 2012-04-14 18:03:25 -07:00
danieldg
8cb1935360 Allow SASL messages to be targeted at the services server
<sasl target="services.example.net"> will avoid broadcasting all
authentication messages across the network, which improves security.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12494 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-18 21:23:00 +00:00
brain
cd712c40e1 ...because every now and again, i have to do a massive commit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11 03:07:32 +00:00
danieldg
0f74e88f09 Move MODENOTICE command to a command module
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11991 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-03 01:14:12 +00:00
danieldg
fa452641bf Remove more classbase
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11905 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-18 16:18:44 +00:00
peavey
e4a590c792 Less CoreExport.. Too much of a good thing..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11847 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 23:25:31 +00:00
peavey
80c0979239 More CoreExport, brought the errors down, but some still persist.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11846 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 22:32:06 +00:00
danieldg
6d03943426 Remove InspIRCd* parameters and fields
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26 14:13:13 +00:00
danieldg
f25c4b7a22 MetaData rework
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11607 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:37 +00:00