Mon, 22 Jun 2009 21:56:52 +0100
util.pluginloader: Remove unnecessary return value suppressing the real load error
util/pluginloader.lua | file | annotate | diff | comparison | revisions |
--- a/util/pluginloader.lua Mon Jun 22 21:54:34 2009 +0100 +++ b/util/pluginloader.lua Mon Jun 22 21:56:52 2009 +0100 @@ -27,7 +27,7 @@ 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;