1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 15:23:13 +02:00

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.
This commit is contained in:
Sadie Powell
2024-11-24 23:56:57 +00:00
parent 70227dc882
commit 7019b27e59
5 changed files with 67 additions and 35 deletions
+1
View File
@@ -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;
};