And anothear nick_from_ircmask leak.
This commit is contained in:
parent
00a10a9f61
commit
217816c220
@ -1272,9 +1272,10 @@ static int irc_join(struct link_server *server, struct line *line)
|
||||
return ERR_PROTOCOL;
|
||||
if (!line->origin)
|
||||
return ERR_PROTOCOL;
|
||||
s_nick = nick_from_ircmask(line->origin);
|
||||
|
||||
s_nick = nick_from_ircmask(line->origin);
|
||||
hash_insert(&channel->ovmasks, s_nick, 0);
|
||||
free(s_nick);
|
||||
return OK_COPY;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user