summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-06 17:29:24 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-06 17:29:24 +0100
commit2204935f3e1962a11c5e7cf3d1c56261c2d63d06 (patch)
treeb51c7aebb964e90da274068e79c0dcabd93954fe /src/plugins/irc
parentc4590b78392027bcd2f3ddafe86dace5f05c4340 (diff)
downloadweechat-2204935f3e1962a11c5e7cf3d1c56261c2d63d06.zip
Add local variables for IRC debug buffer
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-debug.c b/src/plugins/irc/irc-debug.c
index 977a8a242..0031086bc 100644
--- a/src/plugins/irc/irc-debug.c
+++ b/src/plugins/irc/irc-debug.c
@@ -76,6 +76,10 @@ irc_debug_printf (struct t_irc_server *server, int send, int modified,
weechat_buffer_set (irc_debug_buffer,
"title", _("IRC debug messages"));
+ weechat_buffer_set (irc_debug_buffer, "short_name", IRC_DEBUG_BUFFER_NAME);
+ weechat_buffer_set (irc_debug_buffer, "localvar_set_server", IRC_DEBUG_BUFFER_NAME);
+ weechat_buffer_set (irc_debug_buffer, "localvar_set_channel", IRC_DEBUG_BUFFER_NAME);
+
/* disabled all highlights on this debug buffer */
weechat_buffer_set (irc_debug_buffer, "highlight_words", "-");
}