Sadie Powell
260539e987
Add more documentation for overriding confirmation codes.
2024-04-07 15:52:24 +01:00
Sadie Powell
4603cd467b
Add an operator privilege to allow overriding drop codes.
...
Closes #392
2024-04-05 14:14:10 +01:00
Sadie Powell
2e59aac025
Fix the default value of accessmax in cs_access.
2024-03-29 14:21:51 +00:00
Sadie Powell
d996c3aa8f
Fix a format-extra-args warning on some versions on GCC.
2024-03-15 12:22:22 +00:00
Sadie Powell
ad86535024
Consistently use READ_ONLY_MODE everywhere.
2024-03-15 12:09:58 +00:00
Sadie Powell
22ba54b00d
Show the full command in CONFIRM_DROP.
2024-03-12 19:24:31 +00:00
Sadie Powell
b8cd00b412
Merge branch '2.0' into 2.1.
2024-03-12 16:50:30 +00:00
Sadie Powell
06add0e5fc
Simplify limit extraction code.
2024-03-12 12:24:02 +00:00
Sadie Powell
29e7674e56
Replace convertTo/stringify with non-throwing alternatives.
...
Having these throw is terrible for ergonomics and there are loads
of places where the exception was either silently ignored or not
handled at all. Having a function which returns an optional and
another that returns a default works a lot better imo.
2024-03-11 19:17:29 +00:00
Sadie Powell
39d288f99f
Rename hash_map to unordered_map to match the underlying container.
2024-03-09 22:22:56 +00:00
Sadie Powell
12486f6cee
Tweak the config default limits slightly.
2024-03-09 11:43:38 +00:00
Sadie Powell
bb94f286f5
Also use drop confirmation codes for nicknames.
2024-03-07 21:18:06 +00:00
Sadie Powell
579af3c442
Rip out ns_access and related code.
...
This is wildly insecure and has been disabled by default for at
least a decade.
2024-02-29 16:14:15 +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
c6cb4ba159
Fix some coding style issues.
2024-02-26 15:34:17 +00:00
Sadie Powell
e341cac8d6
Implement support for the IRCv3 +draft/channel-context tag.
...
Closes #358 .
2024-02-26 15:34:17 +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
7423fa9998
Route message tags into more message functions.
2024-02-22 13:03:53 +00:00
TehPeGaSuS
ccfaca32a2
Fix a typo in cs_drop.
2024-02-21 23:09:09 +00:00
Sadie Powell
22fe5bb724
Require users to use a confirmation code when dropping channels.
2024-02-19 22:20:36 +00:00
Sadie Powell
5c50bcb9c7
Remove the time_t parameter from Tick and TickTimers.
...
Most uses of Tick do not use the parameter and even when it is used
it is always the same as CurTime.
2024-02-11 18:18:18 +00:00
Sadie Powell
30b9f12711
Remove the now parameter from the Timer class.
...
This was never actually changed from the default.
2024-02-11 17:56:35 +00:00
Sadie Powell
484160eb4e
Shuffle modules around a bit.
2024-01-24 12:34:34 +00:00