Fix typos in match.c and m_whowas.c; add Kill checking for "ircd -k -c ..."
[ircu2.10.12-pk.git] / ircd / m_whowas.c
index b24e5c49304c6955178e2da7d782777f4bd69d65..9c8046123f240e6014dd85821b4adfabb61bcf9c 100644 (file)
@@ -138,7 +138,7 @@ 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))
+        if (IsAnOper(sptr) && ircd_strcmp(temp->hostname, temp->realhost))
           send_reply(sptr, RPL_WHOISACTUALLY, temp->name, temp->username, temp->realhost);
         send_reply(sptr, RPL_WHOISSERVER, temp->name,
                    (feature_bool(FEAT_HIS_WHOIS_SERVERNAME) && !IsOper(sptr)) ?