1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 20:36:38 +02:00

Fixed chanserv/access/modify permission on non-xop channels

(cherry picked from commit ffd5c045e4)
This commit is contained in:
Adam
2011-07-06 00:33:25 -04:00
parent 11fdf16c84
commit 205eb1ce22
+3 -1
View File
@@ -410,7 +410,9 @@ class CommandCSAccess : public Command
bool is_del = cmd.equals_ci("DEL");
bool has_access = false;
if (is_list && check_access(u, ci, CA_ACCESS_LIST))
if (u->HasPriv("chanserv/access/modify"))
has_access = true;
else if (is_list && check_access(u, ci, CA_ACCESS_LIST))
has_access = true;
else if (check_access(u, ci, CA_ACCESS_CHANGE))
has_access = true;