Fixed incorrect localization that led to an error in 'Save' from tab menu.
This commit is contained in:
@@ -264,6 +264,7 @@ local function executeShellCode(tx)
|
||||
|
||||
local addedret, forceexpression = true, tx:match("^%s*=%s*")
|
||||
tx = tx:gsub("^%s*=%s*","")
|
||||
local fn
|
||||
fn, err = loadstring("return "..tx)
|
||||
if not forceexpression and err and
|
||||
(err:find("'?<eof>'? expected near '") or
|
||||
|
||||
Reference in New Issue
Block a user