From 1fadaf4fa717fe72536989319369f1209b0dbf3e Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 22 Jun 2009 21:56:52 +0100 Subject: util.pluginloader: Remove unnecessary return value suppressing the real load error --- util/pluginloader.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/pluginloader.lua b/util/pluginloader.lua index 1bf22f62..86075c90 100644 --- a/util/pluginloader.lua +++ b/util/pluginloader.lua @@ -27,7 +27,7 @@ end function load_code(plugin, resource) local content, err = load_resource(plugin, resource); if not content then return content, err; end - return loadstring(content, err), err; + return loadstring(content, err); end return _M; -- cgit v1.2.3