summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-input.c2
-rw-r--r--src/plugins/irc/irc-list.c2
-rw-r--r--src/plugins/irc/irc-upgrade.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-input.c b/src/plugins/irc/irc-input.c
index 75e2bbf0d..6071396c0 100644
--- a/src/plugins/irc/irc-input.c
+++ b/src/plugins/irc/irc-input.c
@@ -370,7 +370,7 @@ irc_input_data (struct t_gui_buffer *buffer, const char *input_data, int flags,
}
else if (weechat_strcmp (
weechat_buffer_get_string (buffer,
- "localvar_type"), "irc_list") == 0)
+ "localvar_type"), "list") == 0)
{
irc_list_buffer_input_data (buffer, input_data);
}
diff --git a/src/plugins/irc/irc-list.c b/src/plugins/irc/irc-list.c
index 021886868..c8a6c11b4 100644
--- a/src/plugins/irc/irc-list.c
+++ b/src/plugins/irc/irc-list.c
@@ -957,7 +957,7 @@ irc_list_create_buffer (struct t_irc_server *server)
if (buffer_props)
{
weechat_hashtable_set (buffer_props, "type", "free");
- weechat_hashtable_set (buffer_props, "localvar_set_type", "irc_list");
+ weechat_hashtable_set (buffer_props, "localvar_set_type", "list");
weechat_hashtable_set (buffer_props, "localvar_set_server", server->name);
weechat_hashtable_set (buffer_props, "localvar_set_channel", server->name);
weechat_hashtable_set (buffer_props, "localvar_set_no_log", "1");
diff --git a/src/plugins/irc/irc-upgrade.c b/src/plugins/irc/irc-upgrade.c
index 53f074526..fa82d20e8 100644
--- a/src/plugins/irc/irc-upgrade.c
+++ b/src/plugins/irc/irc-upgrade.c
@@ -324,7 +324,7 @@ irc_upgrade_set_buffer_callbacks ()
ptr_server);
}
}
- if (type && (strcmp (type, "irc_list") == 0))
+ if (type && (strcmp (type, "list") == 0))
{
ptr_server = irc_server_search (
weechat_buffer_get_string (ptr_buffer,