From 24fd69e42ccae4da9fdfa056774b370caf22cc2d Mon Sep 17 00:00:00 2001 From: arza Date: Sun, 26 Mar 2017 08:14:41 +0300 Subject: core: support local variables in /buffer get --- src/core/wee-command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/wee-command.c') diff --git a/src/core/wee-command.c b/src/core/wee-command.c index a3a6bb472..602cca093 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -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), -- cgit v1.2.3