From 7019b27e591e0f5ce3727993e02198ae070885e9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 24 Nov 2024 23:56:57 +0000 Subject: 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. --- include/modules/pseudoclients/nickserv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/modules') 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; }; -- cgit