whois: bring permissions check in line with the same one in m_privs
This commit is contained in:
parent
fb01429969
commit
4d38dd60ed
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ single_whois(struct Client *source_p, struct Client *target_p, int operspy)
|
|||
}
|
||||
|
||||
if(MyClient(target_p) && !EmptyString(target_p->localClient->opername) &&
|
||||
(IsOperAdmin(source_p) || IsAdmin(source_p) || (source_p == target_p)))
|
||||
(IsOper(source_p) || (source_p == target_p)))
|
||||
{
|
||||
char buf[512];
|
||||
rb_snprintf(buf, sizeof(buf), "is opered as %s, privset %s",
|
||||
|
|
Loading…
Reference in a new issue