summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-11-23 15:10:03 +0000
committerSadie Powell <sadie@witchery.services>2023-11-23 15:10:03 +0000
commit3371941be5eb2d783a512d326f28165d101da6ee (patch)
tree3781e2c9e1a503f6276ebc74a0314b77c19acffa /data
parent70d72b62df3045590297eceba5649b8417dc3f4a (diff)
Allow users to opt-out of being added to channel access lists.
Diffstat (limited to 'data')
-rw-r--r--data/anope.example.conf2
-rw-r--r--data/nickserv.example.conf5
2 files changed, 6 insertions, 1 deletions
diff --git a/data/anope.example.conf b/data/anope.example.conf
index f2fe66837..9ce2805fd 100644
--- a/data/anope.example.conf
+++ b/data/anope.example.conf
@@ -792,7 +792,7 @@ log
* nickserv/saset/autoop nickserv/saset/email nickserv/saset/greet nickserv/saset/password
* nickserv/saset/display nickserv/saset/kill nickserv/saset/language nickserv/saset/message
* nickserv/saset/private nickserv/saset/secure nickserv/saset/url nickserv/saset/noexpire
- * nickserv/saset/keepmodes
+ * nickserv/saset/keepmodes nickserv/saset/neverop
*
* hostserv/set hostserv/del hostserv/list
*
diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf
index 69f2fa07e..d693297f5 100644
--- a/data/nickserv.example.conf
+++ b/data/nickserv.example.conf
@@ -107,6 +107,7 @@ module
* - memo_receive: Notify user if they have a new memo as soon as it's received
* - memo_mail: Notify user if they have a new memo by mail
* - autoop: User will be automatically opped in channels they enter and have access to
+ * - neverop: User can not be added to access lists
* - msg: Messages will be sent as PRIVMSGs instead of NOTICEs, requires options:useprivmsg
* to be enabled as well
* - ns_keep_modes: Enables keepmodes, which retains user modes across sessions
@@ -532,6 +533,7 @@ command { service = "NickServ"; name = "RESETPASS"; command = "nickserv/resetpas
* nickserv/set/message, nickserv/saset/message - Used to configure how services send messages to you.
* nickserv/set/password, nickserv/saset/password - Used for changing a users password.
* nickserv/set/secure, nickserv/saset/secure - Used for configuring whether a user can identify by simply being recognized by nickserv/access.
+ * nickserv/set/neverop, nickserv/saset/neverop - Used to configure whether a user can be added to access lists
* nickserv/saset/noexpire - Used for configuring noexpire, which prevents nicks from expiring.
*/
module
@@ -576,6 +578,9 @@ command { service = "NickServ"; name = "SASET PASSWORD"; command = "nickserv/sas
command { service = "NickServ"; name = "SET SECURE"; command = "nickserv/set/secure"; }
command { service = "NickServ"; name = "SASET SECURE"; command = "nickserv/saset/secure"; permission = "nickserv/saset/secure"; }
+command { service = "NickServ"; name = "SET NEVEROP"; command = "nickserv/set/neverop"; }
+command { service = "NickServ"; name = "SASET NEVEROP"; command = "nickserv/saset/neverop"; permission = "nickserv/saset/neverop"; }
+
command { service = "NickServ"; name = "SASET NOEXPIRE"; command = "nickserv/saset/noexpire"; permission = "nickserv/saset/noexpire"; }