1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

irc: set host for nick on each channel message (if not already set)

This commit is contained in:
Sebastien Helleu
2011-09-29 20:01:11 +02:00
parent 0440ff7c89
commit 613b53fa8b
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -1389,6 +1389,9 @@ IRC_PROTOCOL_CALLBACK(privmsg)
/* other message */
ptr_nick = irc_nick_search (ptr_channel, nick);
if (ptr_nick && !ptr_nick->host)
ptr_nick->host = strdup (address);
weechat_printf_tags (ptr_channel->buffer,
irc_protocol_tags (command,
"notify_message",