summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-10-30 10:41:12 +0200
committerSebastien Helleu <flashcode@flashtux.org>2010-10-30 10:41:12 +0200
commit24fa337181a06266b23d7c9d15ade7a12ed7a510 (patch)
treeb59e07186f721706d255277cec5b57e750c4b08f /src/plugins/irc
parent0e315a81ad2177b6d212697fe5be2367219d825c (diff)
downloadweechat-24fa337181a06266b23d7c9d15ade7a12ed7a510.zip
Fix target buffer used to display IRC message 327 (whois, host)
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-protocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index 17f709afe..4c51d0265 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -2681,7 +2681,7 @@ IRC_PROTOCOL_CALLBACK(327)
if (pos_realname && pos_realname[0])
{
- weechat_printf_tags (server->buffer,
+ weechat_printf_tags (ptr_buffer,
irc_protocol_tags (command, "irc_numeric", NULL),
"%s%s[%s%s%s] %s%s %s %s(%s%s%s)",
weechat_prefix ("network"),
@@ -2699,7 +2699,7 @@ IRC_PROTOCOL_CALLBACK(327)
}
else
{
- weechat_printf_tags (server->buffer,
+ weechat_printf_tags (ptr_buffer,
irc_protocol_tags (command, "irc_numeric", NULL),
"%s%s[%s%s%s] %s%s %s",
weechat_prefix ("network"),