1
0
forked from bip/bip

segv bugfix

This commit is contained in:
nohar 2005-08-06 11:47:09 +00:00
parent 75458e014b
commit 4c2aa74c36

View File

@ -1878,7 +1878,8 @@ void irc_server_shutdown(struct link_server *s)
if (LINK(s)->prev_ircmask) if (LINK(s)->prev_ircmask)
free(LINK(s)->prev_ircmask); free(LINK(s)->prev_ircmask);
LINK(s)->prev_ircmask = strdup(s->irc_mask); if (s->irc_mask)
LINK(s)->prev_ircmask = strdup(s->irc_mask);
} }