diff options
Diffstat (limited to 'src/debug_shell.lua')
-rw-r--r-- | src/debug_shell.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug_shell.lua b/src/debug_shell.lua index 25bc1ed..005fb9f 100644 --- a/src/debug_shell.lua +++ b/src/debug_shell.lua @@ -131,7 +131,7 @@ debug_shell.exec_cmd = function() local chunk = loadstring(luacode) if(chunk) then log.printf(log.DEBUG, "debug shell: calling lua command: '%s'", luacode) - local results = { pcall(function() chunk() end) } + local results = { pcall(chunk) } if(results[1]) then for i,result in ipairs(results) do if(i ~= 1) then |