1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

core: support local variables in /buffer get

This commit is contained in:
arza
2017-03-26 08:14:41 +03:00
parent 370fbeb5a3
commit 24fd69e42c
+2 -1
View File
@@ -1112,7 +1112,8 @@ COMMAND_CALLBACK(buffer)
gui_buffer_get_integer (buffer, argv[2]));
}
if (gui_buffer_property_in_list (gui_buffer_properties_get_string,
argv[2]))
argv[2])
|| (string_strncasecmp (argv[2], "localvar_", 9) == 0))
{
gui_chat_printf (NULL, "%s%s%s: (str) %s = %s",
GUI_COLOR(GUI_COLOR_CHAT_BUFFER),