diff options
author | Sadie Powell <sadie@witchery.services> | 2024-11-24 23:56:57 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-11-25 00:08:30 +0000 |
commit | 7019b27e591e0f5ce3727993e02198ae070885e9 (patch) | |
tree | 7752a85bb31f4bce07f63c3364a9f8d6c903daa2 /include | |
parent | 70227dc8823c0f9669e35dbf63593faaeef5410d (diff) |
Rework how guest nicks work.
- 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.
Diffstat (limited to 'include')
-rw-r--r-- | include/modules/pseudoclients/nickserv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/modules/pseudoclients/nickserv.h b/include/modules/pseudoclients/nickserv.h index 58cf93bd9..f269537bf 100644 --- a/include/modules/pseudoclients/nickserv.h +++ b/include/modules/pseudoclients/nickserv.h @@ -19,4 +19,5 @@ public: virtual void Validate(User *u) = 0; virtual void Collide(User *u, NickAlias *na) = 0; virtual void Release(NickAlias *na) = 0; + virtual bool IsGuestNick(const Anope::string &nick) const = 0; }; |