diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/commands/bs_assign.cpp | 2 | ||||
-rw-r--r-- | modules/commands/bs_botlist.cpp | 2 | ||||
-rw-r--r-- | modules/commands/ns_alist.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/bs_assign.cpp b/modules/commands/bs_assign.cpp index e778faffe..93cb5f907 100644 --- a/modules/commands/bs_assign.cpp +++ b/modules/commands/bs_assign.cpp @@ -54,7 +54,7 @@ class CommandBSAssign : public Command return; } - if (bi->oper_only && !source.HasCommand("botserv/assign/private")) + if (bi->oper_only && !source.HasPriv("botserv/administration")) { source.Reply(ACCESS_DENIED); return; diff --git a/modules/commands/bs_botlist.cpp b/modules/commands/bs_botlist.cpp index c4a559443..dcaa691d9 100644 --- a/modules/commands/bs_botlist.cpp +++ b/modules/commands/bs_botlist.cpp @@ -33,7 +33,7 @@ class CommandBSBotList : public Command { BotInfo *bi = it->second; - if (source.HasCommand("botserv/botlist") || !bi->oper_only) + if (source.HasPriv("botserv/administration") || !bi->oper_only) { ++count; ListFormatter::ListEntry entry; diff --git a/modules/commands/ns_alist.cpp b/modules/commands/ns_alist.cpp index 6d3bebdc9..bd3a22281 100644 --- a/modules/commands/ns_alist.cpp +++ b/modules/commands/ns_alist.cpp @@ -27,7 +27,7 @@ class CommandNSAList : public Command Anope::string nick = source.GetNick(); NickCore *nc = source.nc; - if (params.size() && source.IsServicesOper()) + if (params.size() && source.HasPriv("nickserv/alist")) { nick = params[0]; const NickAlias *na = NickAlias::Find(nick); |