diff options
-rw-r--r-- | src/plugins/irc/irc-raw.c | 5 | ||||
-rw-r--r-- | src/plugins/jabber/jabber-debug.c | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/irc/irc-raw.c b/src/plugins/irc/irc-raw.c index 3bc65414e..8f6ce7029 100644 --- a/src/plugins/irc/irc-raw.c +++ b/src/plugins/irc/irc-raw.c @@ -67,7 +67,8 @@ irc_raw_open (int switch_to_buffer) if (!irc_raw_buffer) { - irc_raw_buffer = weechat_buffer_search ("irc", IRC_RAW_BUFFER_NAME); + irc_raw_buffer = weechat_buffer_search (IRC_PLUGIN_NAME, + IRC_RAW_BUFFER_NAME); if (!irc_raw_buffer) { irc_raw_buffer = weechat_buffer_new (IRC_RAW_BUFFER_NAME, @@ -87,7 +88,7 @@ irc_raw_open (int switch_to_buffer) weechat_buffer_set (irc_raw_buffer, "localvar_set_channel", IRC_RAW_BUFFER_NAME); weechat_buffer_set (irc_raw_buffer, "localvar_set_no_log", "1"); - /* disabled all highlights on this debug buffer */ + /* disable all highlights on this debug buffer */ weechat_buffer_set (irc_raw_buffer, "highlight_words", "-"); if (switch_to_buffer) diff --git a/src/plugins/jabber/jabber-debug.c b/src/plugins/jabber/jabber-debug.c index 7ab2867bf..e5d6ba8fa 100644 --- a/src/plugins/jabber/jabber-debug.c +++ b/src/plugins/jabber/jabber-debug.c @@ -65,7 +65,7 @@ jabber_debug_printf (struct t_jabber_server *server, int send, int modified, if (!jabber_debug_buffer) { - jabber_debug_buffer = weechat_buffer_search ("jabber", + jabber_debug_buffer = weechat_buffer_search (JABBER_PLUGIN_NAME, JABBER_DEBUG_BUFFER_NAME); if (!jabber_debug_buffer) { @@ -86,7 +86,7 @@ jabber_debug_printf (struct t_jabber_server *server, int send, int modified, weechat_buffer_set (jabber_debug_buffer, "localvar_set_muc", JABBER_DEBUG_BUFFER_NAME); weechat_buffer_set (jabber_debug_buffer, "localvar_set_no_log", "1"); - /* disabled all highlights on this debug buffer */ + /* disable all highlights on this debug buffer */ weechat_buffer_set (jabber_debug_buffer, "highlight_words", "-"); } } |