WHOIS: Make hide_opers_in_whois not affect opers doing whois.
This commit is contained in:
parent
103a1bfd34
commit
6da38a0a5d
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ single_whois(struct Client *source_p, struct Client *target_p, int operspy)
|
|||
sendto_one_numeric(source_p, RPL_AWAY, form_str(RPL_AWAY),
|
||||
target_p->name, target_p->user->away);
|
||||
|
||||
if(IsOper(target_p) && (!ConfigFileEntry.hide_opers_in_whois || source_p == target_p))
|
||||
if(IsOper(target_p) && (!ConfigFileEntry.hide_opers_in_whois || IsOper(source_p)))
|
||||
{
|
||||
sendto_one_numeric(source_p, RPL_WHOISOPERATOR, form_str(RPL_WHOISOPERATOR),
|
||||
target_p->name,
|
||||
|
|
Loading…
Reference in a new issue