From 0e19fc9f176a9171f77ce4a3676af6907fb5440e Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Fri, 7 Jun 2019 21:06:52 +0100 Subject: [PATCH] Temp fix for command quotes error --- expcore/commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expcore/commands.lua b/expcore/commands.lua index ffa13acd..097c51d6 100644 --- a/expcore/commands.lua +++ b/expcore/commands.lua @@ -622,7 +622,7 @@ function Commands.run_command(command_event) -- splits the arguments local input_string = command_event.parameter or '' local quote_params = {} -- stores any " " params - input_string = input_string:gsub('"[^"]-"',function(w) + input_string = input_string:gsub(' "[^"]-"',function(w) -- finds all " " params are removes spaces for the next part local no_spaces = w:gsub('%s','_') local no_quotes = w:sub(2,-2)