1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 20:26:39 +02:00

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

This commit is contained in:
Adam
2011-07-06 00:33:25 -04:00
parent cc3c2b6999
commit ffd5c045e4
+3 -1
View File
@@ -406,7 +406,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;