summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-01-13 15:35:13 +0000
committerSadie Powell <sadie@witchery.services>2025-01-13 15:35:13 +0000
commit9d165f13e790ca03fc0352b3cfcf493e6fdd78c6 (patch)
tree1eccf5e976363eed5b21039ad177c10b319c7afd /data
parent3582bc0f584fa9afb20988e7938085557fdebb75 (diff)
Allow skipping user modes in keepmodes.
Diffstat (limited to 'data')
-rw-r--r--data/nickserv.example.conf12
1 files changed, 11 insertions, 1 deletions
diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf
index 9f45c9edd..9c46979a7 100644
--- a/data/nickserv.example.conf
+++ b/data/nickserv.example.conf
@@ -558,7 +558,17 @@ command { service = "NickServ"; name = "SASET NOEXPIRE"; command = "nickserv/sas
*
* Allows configuring services to keep user modes across logins.
*/
-module { name = "ns_set_keepmodes" }
+module
+{
+ name = "ns_set_keepmodes"
+
+ /*
+ * Anope will try to not restore user modes that aren't settable by users. However, if
+ * you have modes that you don't want to be automatically restored you can list them
+ * here.
+ */
+ #norestore = "ABCabc"
+}
command { service = "NickServ"; name = "SET KEEPMODES"; command = "nickserv/set/keepmodes"; }
command { service = "NickServ"; name = "SASET KEEPMODES"; command = "nickserv/saset/keepmodes"; permission = "nickserv/saset/keepmodes"; }