segv bugfix
This commit is contained in:
parent
75458e014b
commit
4c2aa74c36
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user