modules/m_whois: Allow clients to see their own umodes when whoising themselves
This commit is contained in:
parent
0785419045
commit
2f35248278
|
@ -342,7 +342,7 @@ single_whois(struct Client *source_p, struct Client *target_p, int operspy)
|
|||
sendto_one_numeric(source_p, RPL_WHOISBOT,
|
||||
form_str(RPL_WHOISBOT),
|
||||
target_p->name);
|
||||
if(IsOper(source_p))
|
||||
if(IsOper(source_p) || source_p == target_p)
|
||||
{
|
||||
m = buf;
|
||||
*m++ = '+';
|
||||
|
|
Loading…
Reference in New Issue