fixed ircd crashing when using /whowas
authorpk910 <philipp@zoelle1.de>
Sun, 14 Aug 2011 14:55:35 +0000 (16:55 +0200)
committerpk910 <philipp@zoelle1.de>
Sun, 14 Aug 2011 14:55:35 +0000 (16:55 +0200)
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++;