1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 03:03:12 +02:00

Fix bug with IRC notices for channel: display them in channel instead of server buffer (bug #18730)

This commit is contained in:
Sebastien Helleu
2008-10-03 18:09:23 +02:00
parent dfaa43ff17
commit b18a61984f
2 changed files with 72 additions and 49 deletions
+1 -3
View File
@@ -2255,12 +2255,10 @@ irc_command_notice (void *data, struct t_gui_buffer *buffer, int argc,
string = irc_color_decode (argv_eol[2],
weechat_config_boolean (irc_config_network_colors_receive));
weechat_printf (ptr_server->buffer,
"%snotice%s(%s%s%s)%s: %s",
"%sNotice -> %s%s%s: %s",
irc_buffer_get_server_prefix (ptr_server, NULL),
IRC_COLOR_CHAT_DELIMITERS,
IRC_COLOR_CHAT_NICK,
argv[1],
IRC_COLOR_CHAT_DELIMITERS,
IRC_COLOR_CHAT,
(string) ? string : argv_eol[2]);
if (string)