summaryrefslogtreecommitdiff
path: root/modules/commands/ns_access.cpp
diff options
context:
space:
mode:
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;
}