added basic ssl support to ircu
[ircu2.10.12-pk.git] / ircd / m_whowas.c
index b24e5c49304c6955178e2da7d782777f4bd69d65..eee2745cd1603ad365923d5c1e32ae3cfbb33c5e 100644 (file)
@@ -138,8 +138,8 @@ int m_whowas(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
       {
        send_reply(sptr, RPL_WHOWASUSER, temp->name, temp->username,
                   temp->hostname, temp->realname);
-        if (IsAnOper(sptr) && strcmp(temp->hostname, temp->realhost))
-          send_reply(sptr, RPL_WHOISACTUALLY, temp->name, temp->username, temp->realhost);
+        if (IsAnOper(sptr) && temp->realhost)
+          send_reply(sptr, RPL_WHOISACTUALLY, temp->name, temp->username, temp->realhost, "<untracked>");
         send_reply(sptr, RPL_WHOISSERVER, temp->name,
                    (feature_bool(FEAT_HIS_WHOIS_SERVERNAME) && !IsOper(sptr)) ?
                      feature_str(FEAT_HIS_SERVERNAME) :