1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

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.
This commit is contained in:
Sadie Powell
2023-11-30 14:25:35 +00:00
parent 2d2d1972e9
commit 4e9a2df827
2 changed files with 25 additions and 7 deletions
+16
View File
@@ -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.
*