Sadie Powell
893bbf9251
Fix some oversights.
2024-02-29 17:15:15 +00:00
Sadie Powell
5441093211
Merge branch '2.0' into 2.1.
2024-02-29 16:32:14 +00:00
Sadie Powell
25bdcfcbc4
Add names for the numerics used by the core.
2024-02-29 13:07:14 +00:00
Sadie Powell
5f735b2570
Fix matching extbans on InspIRCd and implement missing matchers.
2024-02-27 20:33:43 +00:00
Sadie Powell
9c80f9e34e
Replace OnChannelUnban with an IRCDProto function.
...
This was added for (and is only used for) for unbanning users on
UnrealIRCd which is an IRCd protocol function so it should be in
IRCDProto.
2024-02-27 13:40:47 +00:00
Sadie Powell
b5b3c74477
Make functions that don't use this static.
2024-02-27 10:48:55 +00:00
Sadie Powell
7640fad30c
Simplify several boolean expressions.
2024-02-27 10:19:44 +00:00
Sadie Powell
642e68f53a
Fix sending numerics on InspIRCd.
2024-02-26 23:57:55 +00:00
Sadie Powell
1e87849e5c
Rework IRCDMessage/IRCDMessageFlag.
2024-02-26 23:56:07 +00:00
Sadie Powell
2fd4b45f81
Deduplicate InspIRCd CAPAB parsing.
2024-02-26 19:26:21 +00:00
Sadie Powell
d914febbec
Fix a typo in UnrealIRCd's SendGlobops.
2024-02-26 17:23:15 +00:00
Sadie Powell
6be4df3b39
Remove several string format IRCDProto function overloads.
2024-02-26 16:45:28 +00:00
Sadie Powell
4789751e50
Fix a missing override keyword.
2024-02-26 16:45:28 +00:00
Sadie Powell
57674f5869
Replace IRCDProto::CanSendTags with IsTagValid.
...
Not every IRC server accepts arbitrary tags so this is a better
way to handle tag filtering.
2024-02-26 15:50:35 +00:00
Sadie Powell
c6cb4ba159
Fix some coding style issues.
2024-02-26 15:34:17 +00:00
Sadie Powell
b26f198489
Fix formatting messages on ngircd.
2024-02-22 19:54:09 +00:00
Sadie Powell
a99a00d7c5
Fix sending the ngircd PASS handler.
2024-02-22 19:07:11 +00:00
Sadie Powell
283137841f
Refactor the InspIRCd module static variables and method.
2024-02-22 17:47:14 +00:00
Sadie Powell
3290ebd36a
GetMaxListFor: use size_t and add a default like the other fields.
2024-02-22 17:25:47 +00:00
Sadie Powell
c4e9c0bf85
If the IRCd sends a field limit then use it over that of the config.
2024-02-22 17:05:30 +00:00
Sadie Powell
84ad85ee85
Fix a bug in the unrealircd protocol module.
2024-02-22 15:58:23 +00:00
Sadie Powell
7cba665270
Fix some oversights in commit 82fa7e1467.
2024-02-22 11:18:05 +00:00
Sadie Powell
82fa7e1467
Convert protocol modules over to Uplink::Send.
2024-02-22 00:14:08 +00:00
Sadie Powell
aefbb4fbda
Rework SendModeInternal to be usable with Uplink::Send.
2024-02-22 00:14:08 +00:00
Sadie Powell
9b77fdf5b6
Rework SendNumericInternal to be usable with Uplink::Send.
2024-02-22 00:14:08 +00:00
Sadie Powell
c4ab550ec7
Add Uplink::Send, rework message formatting.
...
This is the new way of sending messages to the uplink inspired by
the work done in the old git master. This will allow us to do new
things involving tags in the future.
2024-02-22 00:14:08 +00:00
Sadie Powell
4cc68397dc
Update the copyright headers for 2024.
2024-02-17 19:58:17 +00:00
Sadie Powell
72acef4e15
Mark types that have no inheritors as final.
2024-01-23 16:53:06 +00:00
Sadie Powell
a6a0f6c447
Improve the layout of types that inherit from another type.
2024-01-23 15:28:23 +00:00
Sadie Powell
d6ced86021
Fix some module names that were missed in commit 4056af00e3.
2024-01-11 17:13:14 +00:00
Sadie Powell
4056af00e3
Parse InspIRCd module names in a way which is 1206 compatible.
2024-01-10 17:47:27 +00:00
Sadie Powell
f083795c79
Fix various format string issues.
2024-01-08 13:11:50 +00:00
Sadie Powell
5db79c1e24
Add a non-formatting overload of User::SetModesInternal.
2024-01-08 13:11:50 +00:00
Sadie Powell
a4dddfd5f1
Mark format strings with the GNU printf attribute.
2024-01-08 13:11:50 +00:00
Sadie Powell
a9ab0c72a6
Use auto in places where the type is unambiguous.
2024-01-06 13:23:37 +00:00
Sadie Powell
a40f8e0b9d
Update the copyright headers for 2024.
2024-01-04 22:25:48 +00:00
Sadie Powell
6538641e87
Remove some unnecessary spaces that break editor indentation.
2023-12-17 13:59:49 +00:00
Sadie Powell
46209895e3
Merge branch '2.0' into 2.1.
2023-11-16 19:34:37 +00:00
Sadie Powell
b28180d680
Implement support for the ANONYMOUS SASL mechanism.
2023-11-14 15:02:04 +00:00
Sadie Powell
0f1f0c5a22
Deduplicate account sending code in the inspircd module.
2023-11-14 13:53:45 +00:00
Sadie Powell
6e16e71fda
Remove the two day X-line cap.
2023-11-03 11:01:01 +00:00
Sadie Powell
1eba69d035
Fix a missing override keyword.
2023-10-24 18:10:32 +01:00
Sadie Powell
eb409fc6eb
When changing the nick of a user on inspircd3 send the expected ts.
...
This should prevent users being renicked if they changed their nick
between services sending the renick and the IRCd receiving it.
2023-10-24 18:00:34 +01:00
Sadie Powell
38d5b93e4a
Add support for server-initiated logins and logouts on UnrealIRCd.
2023-10-19 23:22:31 +01:00
Sadie Powell
78398a4481
Add support for server-initiated logouts on InspIRCd.
2023-10-19 22:52:05 +01:00
Sadie Powell
a3241065c5
Start migrating to range-based for loops.
2023-10-11 15:51:52 +01:00
Sadie Powell
aa619f1eeb
Merge branch '2.0' into 2.1.
2023-07-11 12:28:54 +01:00
Sadie Powell
47bbc9b3fb
Enable CanSQLineChannel in unreal4.
...
Ref: https://www.unrealircd.org/docs/Server_protocol:SQLINE_command
2023-07-09 22:32:43 +01:00
Sadie Powell
da2ac3e8a2
Fix detection of the nopartmsg module in the InspIRCd proto modules.
2023-06-20 01:00:37 +01:00
Sadie Powell
9d0a6ddc67
Merge branch '2.0' into 2.1.
2023-06-03 21:51:07 +01:00