From db340f96d6e9741a23470840a77901c5c45b580f Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 18 Aug 2011 22:04:59 -0400 Subject: Fixed some permission checking fail in modules that got messed up from the big commands sed --- modules/commands/cs_topic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/cs_topic.cpp') diff --git a/modules/commands/cs_topic.cpp b/modules/commands/cs_topic.cpp index 8ea19afcf..49f6e8a13 100644 --- a/modules/commands/cs_topic.cpp +++ b/modules/commands/cs_topic.cpp @@ -37,7 +37,7 @@ class CommandCSTopic : public Command if (!ci->c) source.Reply(CHAN_X_NOT_IN_USE, ci->name.c_str()); - else if (!ci->AccessFor(u).HasPriv(CA_TOPIC) && !u->HasCommand("chanserv/chanserv/topic")) + else if (!ci->AccessFor(u).HasPriv(CA_TOPIC) && !u->HasCommand("chanserv/topic")) source.Reply(ACCESS_DENIED); else { -- cgit