summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/example.conf7
-rw-r--r--modules/commands/bs_assign.cpp2
-rw-r--r--modules/commands/bs_botlist.cpp2
-rw-r--r--modules/commands/ns_alist.cpp2
4 files changed, 7 insertions, 6 deletions
diff --git a/data/example.conf b/data/example.conf
index 849e7b551..66a75f9f2 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -736,7 +736,7 @@ log
* must be included in the opertype block before the command can be used.
*
* Available privileges:
- * botserv/administration - Can perform certain BotServ administrative tasks
+ * botserv/administration - Can view and assign private BotServ bots
* chanserv/access/modify - Can modify channel access and akick lists
* chanserv/auspex - Can see any information with /chanserv info
* chanserv/no-register-limit - May register an unlimited number of channels and nicknames
@@ -745,13 +745,14 @@ log
* memoserv/set-limit - Can set the limit of max stored memos on any user and channel
* memoserv/no-limit - Can send memos through limits and throttles
* nickserv/access - Can modify other users access list
+ * nickserv/alist - Can see the access list of other users
* nickserv/auspex - Can see any information with /nickserv info
* nickserv/confirm - Can confirm other users nicknames
* nickserv/drop - Can drop other users nicks
*
* Available commands:
- * botserv/bot/del botserv/bot/add botserv/bot/change botserv/assign/private
- * botserv/botlist botserv/set/private botserv/set/nobot
+ * botserv/bot/del botserv/bot/add botserv/bot/change botserv/set/private
+ * botserv/set/nobot
*
* chanserv/access/list chanserv/drop chanserv/getkey chanserv/invite
* chanserv/list chanserv/suspend chanserv/topic
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);