summaryrefslogtreecommitdiff
path: root/modules/commands/cs_sync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_sync.cpp')
-rw-r--r--modules/commands/cs_sync.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_sync.cpp b/modules/commands/cs_sync.cpp
index bf7182424..d751cf838 100644
--- a/modules/commands/cs_sync.cpp
+++ b/modules/commands/cs_sync.cpp
@@ -32,7 +32,7 @@ class CommandCSSync : public Command
source.Reply(ACCESS_DENIED);
else
{
- bool override = !source.AccessFor(ci).HasPriv("ACCESS_CHANGE") && source.HasPriv("chanserv/kick");
+ bool override = !source.AccessFor(ci).HasPriv("ACCESS_CHANGE") && source.HasPriv("chanserv/administration");
Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci);
for (Channel::ChanUserList::iterator it = ci->c->users.begin(), it_end = ci->c->users.end(); it != it_end; ++it)