mirror of
https://github.com/anope/anope.git
synced 2026-06-29 23:16:39 +02:00
Fixed permission check in botserv set
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user