diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-06-22 21:56:52 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-06-22 21:56:52 +0100 |
commit | 1fadaf4fa717fe72536989319369f1209b0dbf3e (patch) | |
tree | adea7b9d2999bf5a2fa0f89a36c3543ac60d62e9 | |
parent | 4e32c53614b8d7f44cf44e9e2ff8efc3a7baad26 (diff) | |
download | prosody-1fadaf4fa717fe72536989319369f1209b0dbf3e.tar.gz prosody-1fadaf4fa717fe72536989319369f1209b0dbf3e.zip |
util.pluginloader: Remove unnecessary return value suppressing the real load error
-rw-r--r-- | util/pluginloader.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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; |