From 7b2f9975e9d8801ea8f651bdf31d62ef75d21c2e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C4=81nis=20R=C5=ABcis?= Date: Fri, 2 Apr 2010 19:57:03 +0300 Subject: [PATCH] IRC: fix crash due to a missing prefix --- irc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2