summaryrefslogtreecommitdiff
path: root/modules/commands/ns_access.cpp
diff options
context:
space:
mode:
authorRobby <robby@chat.be>2012-05-08 02:01:44 -0400
committerAdam <Adam@anope.org>2012-05-08 02:01:44 -0400
commit25586f32467334f0366ce0b8bfe16e2d5e005851 (patch)
treecdb51d60337245f45991c5362029abc5b31fd223 /modules/commands/ns_access.cpp
parentb7149fc9404879ebb9914ea9201f7d53ab6cb792 (diff)
Allow services operators to release other user's nicks, and allow services operators to view the access list of other operators
Diffstat (limited to 'modules/commands/ns_access.cpp')
-rw-r--r--modules/commands/ns_access.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/ns_access.cpp b/modules/commands/ns_access.cpp
index 598de4d5a..5fdba68fb 100644
--- a/modules/commands/ns_access.cpp
+++ b/modules/commands/ns_access.cpp
@@ -120,9 +120,9 @@ class CommandNSAccess : public Command
source.Reply(ACCESS_DENIED);
return;
}
- else if (Config->NSSecureAdmins && u->Account() != na->nc && na->nc->IsServicesOper())
+ else if (Config->NSSecureAdmins && u->Account() != na->nc && na->nc->IsServicesOper() && !cmd.equals_ci("LIST"))
{
- source.Reply(_("You may view or modify the access list of other services operators."));
+ source.Reply(_("You may view but not modify the access list of other services operators."));
return;
}