From 2204935f3e1962a11c5e7cf3d1c56261c2d63d06 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 6 Nov 2008 17:29:24 +0100 Subject: Add local variables for IRC debug buffer --- src/plugins/irc/irc-debug.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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", "-"); } -- cgit v1.2.3