1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

Merge pull request #938 from arza-zara/buffer_get_localvar

core: support local variables in /buffer get
This commit is contained in:
Sébastien Helleu
2017-03-26 15:31:59 +02:00
committed by GitHub
+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),