mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
irc: change local variable "type" from "irc_list" to "list" on /list buffer
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user