Sadie Powell
2f74513246
Change User::SetModesInternal to take a split mode change.
2024-10-02 23:54:36 +01:00
Sadie Powell
f9e4ca4d06
Raise the default nickname expiry time to one year.
2024-10-01 11:31:50 +01:00
Sadie Powell
58a78e9aa5
Allow server admins to require that a display nick drops last.
...
Closes #348 .
2024-08-29 13:14:39 +01:00
Sadie Powell
4e9d183523
Restore some functionality that was removed in an earlier commit.
2024-03-14 23:10:53 +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
16700b0e30
Remove a guarantee that may not necessarily be correct.
2024-03-07 23:09:25 +00:00
Sadie Powell
4e04a11995
Consistently use email instead of e-mail.
2024-03-07 22:52:41 +00:00
Sadie Powell
464e6b8010
Use the C++11 random number generator instead of rand().
...
This is safer, faster, and doesn't require seeding.
2024-03-07 22:52:41 +00:00
Sadie Powell
3272c1bbc6
Require new accounts to have email addresses.
2024-03-07 22:25:32 +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
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
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
cef56abea4
Consistently use time_t for the timer duration.
2024-02-11 18:10:38 +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