summaryrefslogtreecommitdiff
path: root/data/chanserv.example.conf
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-11-30 14:25:35 +0000
committerSadie Powell <sadie@witchery.services>2023-11-30 14:38:20 +0000
commit4e9a2df8274f010ff50d4a937e04cc3eff2fca72 (patch)
treee9138ecfde54eec8000a20be8a06484d7bb425dd /data/chanserv.example.conf
parent2d2d1972e965ff41b9e79a53b2bc7e739f798000 (diff)
Add the UNBANME privilege to allow users to unban themselves.
This is separate from the existing UNBAN privilege which applies to all users. Closes #331.
Diffstat (limited to 'data/chanserv.example.conf')
-rw-r--r--data/chanserv.example.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf
index e5d623223..71965cc94 100644
--- a/data/chanserv.example.conf
+++ b/data/chanserv.example.conf
@@ -756,6 +756,22 @@ privilege
}
/*
+ * UNBANME privilege.
+ *
+ * Used by chanserv/unban.
+ *
+ * Users with this permission can unban themself through ChanServ.
+ */
+privilege
+{
+ name = "UNBANME"
+ rank = 200
+ level = 4
+ flag = "U"
+ xop = "HOP"
+}
+
+/*
* VOICE privilege.
*
* Used by chanserv/mode and chanserv/modes.