mirror of
https://github.com/anope/anope.git
synced 2026-07-09 22:43:13 +02:00
Allow services operators to release other user's nicks, and allow services operators to view the access list of other operators
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user