X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_whois.c;h=5660ba66e344445fd786dd921d9d99111f816691;hb=9b1f5beca29ec78141f19a19d689f0f7cc3fe3ac;hp=0230e8a81ed4794702c5ceb182135de8313eaeb7;hpb=9e97df973e333c18f65f251a213fcf736e52653f;p=ircu2.10.12-pk.git diff --git a/ircd/m_whois.c b/ircd/m_whois.c index 0230e8a..5660ba6 100644 --- a/ircd/m_whois.c +++ b/ircd/m_whois.c @@ -209,15 +209,15 @@ static void do_whois(struct Client* sptr, struct Client *acptr, int parc) if (HasHiddenHost(acptr) && (IsAnOper(sptr) || acptr == sptr)) send_reply(sptr, RPL_WHOISACTUALLY, name, user->username, - user->realhost, ircd_ntoa((const char*) &(cli_ip(acptr)))); - + user->realhost, ircd_ntoa(&cli_ip(acptr))); + /* Hint: if your looking to add more flags to a user, eg +h, here's * probably a good place to add them :) */ - + if (MyConnect(acptr) && (!feature_bool(FEAT_HIS_WHOIS_IDLETIME) || (sptr == acptr || IsAnOper(sptr) || parc >= 3))) - send_reply(sptr, RPL_WHOISIDLE, name, CurrentTime - user->last, + send_reply(sptr, RPL_WHOISIDLE, name, CurrentTime - user->last, cli_firsttime(acptr)); } }