diff options
author | Adam <Adam@anope.org> | 2011-08-18 22:04:59 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-18 22:04:59 -0400 |
commit | db340f96d6e9741a23470840a77901c5c45b580f (patch) | |
tree | a6ae8787da9cd45ae3514ea0933b9f99d994f39c /modules/commands/cs_getkey.cpp | |
parent | 0cdca534a87e70c0044480aa3a16807d881295d7 (diff) |
Fixed some permission checking fail in modules that got messed up from the big commands sed
Diffstat (limited to 'modules/commands/cs_getkey.cpp')
-rw-r--r-- | modules/commands/cs_getkey.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_getkey.cpp b/modules/commands/cs_getkey.cpp index 48d5cd2eb..e2f3c7531 100644 --- a/modules/commands/cs_getkey.cpp +++ b/modules/commands/cs_getkey.cpp @@ -35,7 +35,7 @@ class CommandCSGetKey : public Command } - if (!ci->AccessFor(u).HasPriv(CA_GETKEY) && !u->HasCommand("chanserv/chanserv/getkey")) + if (!ci->AccessFor(u).HasPriv(CA_GETKEY) && !u->HasCommand("chanserv/getkey")) { source.Reply(ACCESS_DENIED); return; |