fixed ircd crashing when using /whowas
[ircu2.10.12-pk.git] / ircd / m_whowas.c
index 72594da715ad62e440f25399bbdb128a45c40c5a..3aca61ce41498e4619327967d9502a1d8417d991 100644 (file)
@@ -144,7 +144,8 @@ int m_whowas(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
                    (feature_bool(FEAT_HIS_WHOIS_SERVERNAME) && !IsOper(sptr)) ?
                      feature_str(FEAT_HIS_SERVERNAME) :
                      temp->servername,
-                  myctime(temp->logoff));
+                  myctime(temp->logoff),
+           "","*");
         if (temp->away)
          send_reply(sptr, RPL_AWAY, temp->name, temp->away);
         cur++;