From 58a78e9aa50f0d61cecc42d9833542fe99cbed1d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 29 Aug 2024 13:14:39 +0100 Subject: Allow server admins to require that a display nick drops last. Closes #348. --- data/anope.example.conf | 1 + data/nickserv.example.conf | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'data') diff --git a/data/anope.example.conf b/data/anope.example.conf index 4d8220d2e..4abaff3e3 100644 --- a/data/anope.example.conf +++ b/data/anope.example.conf @@ -746,6 +746,7 @@ log * nickserv/cert - Can modify other users certificate lists * nickserv/confirm - Can confirm other users nicknames * nickserv/drop - Can drop other users nicks + * nickserv/drop/display - Allows dropping display nicks when preservedisplay is enabled * nickserv/drop/override - Allows dropping nicks without using a confirmation code * nickserv/recover - Can recover other users nicks * operserv/config - Can modify services's configuration diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf index 31e1a2d50..8d24cde57 100644 --- a/data/nickserv.example.conf +++ b/data/nickserv.example.conf @@ -219,6 +219,12 @@ module * This directive is optional. If not set it defaults to 50. */ maxpasslen = 50 + + /* + * Whether all of the secondary nicks of a nick group have to expire or be + dropped before the display nick can expire or be dropped. + */ + preservedisplay = no } /* -- cgit