1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00

irc: fix crash when the nick in incoming message is not found in channel

This commit is contained in:
Sébastien Helleu
2019-05-14 07:25:04 +02:00
parent 90610c55c8
commit f6d6f7bac5
+2 -1
View File
@@ -2229,7 +2229,8 @@ IRC_PROTOCOL_CALLBACK(privmsg)
/* other message */
ptr_nick = irc_nick_search (server, ptr_channel, nick);
irc_nick_set_host (ptr_nick, address);
if (ptr_nick)
irc_nick_set_host (ptr_nick, address);
if (status_msg[0])
{