1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 19:16:38 +02:00

cs_set: Fix showing expiry time in INFO output.

cs_sync: Check for the correct override privilege.
This commit is contained in:
Robby-
2013-09-28 16:03:09 +02:00
committed by Adam
parent 4221a507cc
commit a04c320b4b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)