summaryrefslogtreecommitdiff
path: root/modules/commands/cs_sync.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-09-10 16:27:10 -0400
committerAdam <Adam@anope.org>2011-09-10 16:27:10 -0400
commit26c1d67556d1475c0a27938aa760f834469b1d43 (patch)
treebd9a14c1a4e5a058a2bf9912164542906f27f9d9 /modules/commands/cs_sync.cpp
parent3d5889c3089145af675a47267e15181bda84bf21 (diff)
Fixed compile errors & warnings from 1.9.6 to 1.9 merge
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 72964b786..2a6f7b6ef 100644
--- a/modules/commands/cs_sync.cpp
+++ b/modules/commands/cs_sync.cpp
@@ -29,7 +29,7 @@ class CommandCSSync : public Command
source.Reply(CHAN_X_NOT_REGISTERED, params[0].c_str());
else if (ci->c == NULL)
source.Reply(CHAN_X_NOT_IN_USE, params[0].c_str());
- else if (!ci->AccessFor(u).HasPriv(CA_ACCESS_CHANGE))
+ else if (!ci->AccessFor(u).HasPriv("ACCESS_CHANGE"))
source.Reply(ACCESS_DENIED);
else
{