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 /data | |
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 'data')
-rw-r--r-- | data/nickserv.example.conf | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf index a62379053..4d2ef3af8 100644 --- a/data/nickserv.example.conf +++ b/data/nickserv.example.conf @@ -203,13 +203,17 @@ module releasetimeout = 1m /* - * When a user's nick is forcibly changed to enforce a "nick kill", their new nick will start - * with this value. The rest will be made up of 6 or 7 digits. - * Make sure this is a valid nick and Nicklen+7 is not longer than the allowed Nicklen on your ircd. + * When a user's nick is forcibly changed to enforce nickname protection their new + * nick will be based on this value. Any # in the value will be replaced with a random + * number. If your IRCd has support for unique identifiers you can also set this to an + * empty string to change a user's nick to their unique identifier. * - * This directive is optional. If not set it defaults to "Guest" + * Make sure this is a valid nick and that it is is not longer than the maximum nick + * length on your IRCd. + * + * This directive is optional. If not set it defaults to "Guest####" */ - guestnickprefix = "Guest" + guestnick = "Guest####" /* * If set, Anope does not allow ownership of nick names, only ownership of accounts. |