mirror of
https://github.com/weechat/weechat.git
synced 2026-07-05 09:13:14 +02:00
irc: return NULL in function irc_message_get_address_from_host if the received host is NULL
This commit is contained in:
@@ -914,7 +914,7 @@ IRC_PROTOCOL_CALLBACK(chghost)
|
||||
nick,
|
||||
IRC_COLOR_CHAT_DELIMITERS,
|
||||
IRC_COLOR_CHAT_HOST,
|
||||
address,
|
||||
(address) ? address : "",
|
||||
IRC_COLOR_CHAT_DELIMITERS,
|
||||
IRC_COLOR_MESSAGE_CHGHOST,
|
||||
IRC_COLOR_CHAT_HOST,
|
||||
|
||||
Reference in New Issue
Block a user