From: Jānis Rūcis Date: Fri, 2 Apr 2010 16:57:03 +0000 (+0300) Subject: IRC: fix crash due to a missing prefix X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7b2f9975e9d8801ea8f651bdf31d62ef75d21c2e;p=xonotic%2Fdarkplaces.git IRC: fix crash due to a missing prefix --- diff --git a/irc.c b/irc.c index 5e2aa546..df016e14 100644 --- a/irc.c +++ b/irc.c @@ -184,7 +184,7 @@ static ircmessage_t *IRC_ParseMessage(const char *line) line += strspn(line, " "); } else - msg->prefix = NULL; + msg->prefix = Mem_strdup(irc_mempool, ""); if (line == line_end) {