summaryrefslogtreecommitdiff
path: root/modules/operserv/os_defcon.cpp
AgeCommit message (Collapse)Author
2025-05-27Fix some trivial wrong types when getting config values.Sadie Powell
2025-05-03Store the setter and ts for all modes and try to restore them.Sadie Powell
This is mostly for preserving channel list mode info.
2025-04-19Get rid of the internal block wrapper.Sadie Powell
This only existed for compatibility with old 2.0 modules and 2.1 has already broken compatibility with them.
2025-04-16Update as many messages as possible for automatic line wrapping.Sadie Powell
2025-04-14Add Anope::Templace and switch all template strings to use it.Sadie Powell
2025-03-08Move some headers around.Sadie Powell
2025-03-02Return references instead of pointers from the config system.Sadie Powell
We used to return NULL from these methods but now we return an empty block so this can never actually be null now.
2025-01-14Merge branch '2.0' into 2.1.Sadie Powell
2024-03-14Rework sending global notices.Sadie Powell
Admins can now queue multiple messages and send them when they are ready. This is fully compatible with the previous global behaviour. Admins can now also send messages to individual servers. This is useful for informing users of maintenance due to downtime.
2024-03-11Replace convertTo/stringify with non-throwing alternatives.Sadie Powell
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-02-27Make functions that don't use `this` static.Sadie Powell
2024-02-11Remove the time_t parameter from Tick and TickTimers.Sadie Powell
Most uses of Tick do not use the parameter and even when it is used it is always the same as CurTime.
2024-02-11Remove the now parameter from the Timer class.Sadie Powell
This was never actually changed from the default.
2024-01-24Shuffle modules around a bit.Sadie Powell