3 diff -r 180017284849 ircd/m_whois.c
4 --- a/ircd/m_whois.c Tue Mar 23 22:01:56 2010 +0100
5 +++ b/ircd/m_whois.c Tue Mar 23 22:05:41 2010 +0100
7 send_reply(sptr, RPL_WHOISACTUALLY, name, user->realusername,
8 user->realhost, ircd_ntoa(&cli_ip(acptr)));
10 - if (!IsAnOper(sptr) && IsParanoid(acptr) && IsAnOper(acptr))
11 + if (!IsAnOper(sptr) && IsParanoid(acptr) && (sptr != acptr))
12 sendcmdto_one(&me, CMD_NOTICE, acptr, "%C :whois: %s performed a /WHOIS on you.", acptr, cli_name(sptr));
14 /* Hint: if your looking to add more flags to a user, eg +h, here's