From 0e4c9fc887a96a6d5878d7e46cef42ceacf6e7ba Mon Sep 17 00:00:00 2001 From: Jordi Vilalta Prat Date: Wed, 18 May 2016 19:28:08 +0200 Subject: Fix loadstring on Lua 5.1 --- compat53/module.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compat53/module.lua') diff --git a/compat53/module.lua b/compat53/module.lua index dad940b..30be6b5 100644 --- a/compat53/module.lua +++ b/compat53/module.lua @@ -548,7 +548,7 @@ if lua_version < "5.3" then return chunk end - M.loadstring = load + M.loadstring = M.load function M.loadfile(file, mode, env) mode = mode or "bt" -- cgit v1.2.3-55-g6feb