added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git] / ircd / m_whowas.c
index 3053a4103a915520fdfb9f629c27353796dc86a2..eee2745cd1603ad365923d5c1e32ae3cfbb33c5e 100644 (file)
@@ -137,8 +137,9 @@ int m_whowas(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
       if (0 == ircd_strcmp(nick, temp->name))
       {
        send_reply(sptr, RPL_WHOWASUSER, temp->name, temp->username,
-                  (IsAnOper(sptr) && temp->realhost) ? temp->realhost :
                   temp->hostname, temp->realname);
+        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) :