mirror of
https://github.com/anope/anope.git
synced 2026-06-25 08:36:41 +02:00
make nickserv glist check if the given nickname is in the group of the user before checking for services oper
This commit is contained in:
@@ -266,7 +266,7 @@ class CommandNSGList : public Command
|
||||
source.Reply(NICK_X_NOT_REGISTERED, nick.c_str());
|
||||
return;
|
||||
}
|
||||
else if (!source.IsServicesOper())
|
||||
else if (na->nc != source.nc && !source.IsServicesOper())
|
||||
{
|
||||
source.Reply(ACCESS_DENIED, Config->NickServ.c_str());
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user