From 244f87917c3cf9f3fee2a3e04f7c1a358e2f36fb Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Sat, 13 Aug 2011 20:00:45 +0200 Subject: [PATCH] Fixed permission check in botserv set --- modules/commands/bs_set.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/bs_set.cpp b/modules/commands/bs_set.cpp index 816114062..969763099 100644 --- a/modules/commands/bs_set.cpp +++ b/modules/commands/bs_set.cpp @@ -33,7 +33,7 @@ class CommandBSSet : public Command if (readonly) source.Reply(_("Sorry, bot option setting is temporarily disabled.")); - else if (u->HasCommand("botserv/botserv/set/private") && option.equals_ci("PRIVATE")) + else if (u->HasCommand("botserv/set/private") && option.equals_ci("PRIVATE")) { BotInfo *bi;