1
0
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:
DukePyrolator
2012-09-23 20:57:35 +02:00
parent 1b20ec8747
commit a71e2fb64e
+1 -1
View File
@@ -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;