Update of /cvsroot/genericircd/gircd2.0/ircd
In directory sc8-pr-cvs1:/tmp/cvs-serv5843/ircd
Modified Files:
m_whois.c
Log Message:
Whois fixed to show the real host in case of a usercloak.
Index: m_whois.c
===================================================================
RCS file: /cvsroot/genericircd/gircd2.0/ircd/m_whois.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** m_whois.c 26 Oct 2003 16:56:26 -0000 1.2
--- m_whois.c 26 Oct 2003 17:44:02 -0000 1.3
***************
*** 211,215 ****
send_reply(sptr, RPL_WHOISACCOUNT, name, user->account);
! if ((HasHiddenHost(acptr) || HasSetHost(acptr)) && (IsAnOper(sptr) || acptr == sptr))
send_reply(sptr, RPL_WHOISACTUALLY, name, user->realusername,
user->realhost, ircd_ntoa((const char*) &(cli_ip(acptr))));
--- 211,215 ----
send_reply(sptr, RPL_WHOISACCOUNT, name, user->account);
! if ((HasHiddenHost(acptr) || HasSetHost(acptr) || feature_bool(FEAT_USERCLOAK)) && (IsAnOper(sptr) || acptr == sptr))
send_reply(sptr, RPL_WHOISACTUALLY, name, user->realusername,
user->realhost, ircd_ntoa((const char*) &(cli_ip(acptr))));
|