From 4e9a2df8274f010ff50d4a937e04cc3eff2fca72 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 30 Nov 2023 14:25:35 +0000 Subject: 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. --- data/chanserv.example.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'data') 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 @@ -755,6 +755,22 @@ privilege xop = "HOP" } +/* + * 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. * -- cgit