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:
@@ -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])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user