diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2011-08-13 20:00:45 +0200 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2011-08-13 20:00:45 +0200 |
commit | 244f87917c3cf9f3fee2a3e04f7c1a358e2f36fb (patch) | |
tree | 79ebbe627a9ca3d69002316ce962927034092128 /modules/commands/bs_set.cpp | |
parent | 6f0da68915e3999437898b525d92af65f9519c6d (diff) |
Fixed permission check in botserv set
Diffstat (limited to 'modules/commands/bs_set.cpp')
-rw-r--r-- | modules/commands/bs_set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |