diff --git a/modules/m_whois.c b/modules/m_whois.c index 35fab9213..63c6a927e 100644 --- a/modules/m_whois.c +++ b/modules/m_whois.c @@ -326,8 +326,7 @@ single_whois(struct Client *source_p, struct Client *target_p, int operspy) GlobalSetOptions.operstring)); } - if(MyClient(target_p) && !EmptyString(target_p->localClient->opername) && - (IsOper(source_p) || (source_p == target_p))) + if(MyClient(target_p) && !EmptyString(target_p->localClient->opername) && IsOper(source_p)) { char buf[512]; rb_snprintf(buf, sizeof(buf), "is opered as %s, privset %s",