summaryrefslogtreecommitdiff
path: root/modules/nickserv/nickserv.cpp
AgeCommit message (Collapse)Author
2025-04-22Fix splitting in the middle of some command names.Sadie Powell
2025-04-19Remove time from the name of some variables where its obvious.Sadie Powell
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-16Use duration strings when reporting the expiry period.Sadie Powell
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-04-10Expand GetQueryCommand to take a command name.Sadie Powell
2025-03-09Add support for oper-only quit messages.Sadie Powell
This currently only works on InspIRCd but I believe that other servers also support this.
2025-03-08Rework how nickname protection works.Sadie Powell
- Rename the command and module from kill to protect (this command hasn't actually killed users in a long time). - Replace QUICK/IMMED with a duration option.
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-11-25Use the Module * overload of GetModule() in the nickserv module.Sadie Powell
2024-11-25Add a missing override keyword.Sadie Powell
2024-11-25Rework how guest nicks work.Sadie Powell
- Use the config setting as a string template instead of as a prefix. - Allow users of IRCds that have UIDs to use that as the guest nick. - Fall back to a UID before killing if a guest nick can not be found.
2024-11-11Merge branch '2.0' into 2.1.Sadie Powell
2024-10-22Replace usestrictprivmsg with something actually useful.Sadie Powell
Every IRC server we support (other than Bahamut which is probably on the chopping bock) uses UIDs so this setting does nothing. Instead, allow configuring a server-side alias for each service and use that when servicealias is enabled.
2024-10-02Change User::SetModesInternal to take a split mode change.Sadie Powell
2024-10-01Raise the default nickname expiry time to one year.Sadie Powell
2024-08-29Allow server admins to require that a display nick drops last.Sadie Powell
Closes #348.
2024-03-14Restore some functionality that was removed in an earlier commit.Sadie Powell
2024-03-12Simplify limit extraction code.Sadie Powell
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-03-07Remove a guarantee that may not necessarily be correct.Sadie Powell
2024-03-07Consistently use email instead of e-mail.Sadie Powell
2024-03-07Use the C++11 random number generator instead of rand().Sadie Powell
This is safer, faster, and doesn't require seeding.
2024-03-07Require new accounts to have email addresses.Sadie Powell
2024-02-29Rip out ns_access and related code.Sadie Powell
This is wildly insecure and has been disabled by default for at least a decade.
2024-02-22If the IRCd sends a field limit then use it over that of the config.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-11Consistently use time_t for the timer duration.Sadie Powell
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