Software /
code /
prosody
Changeset
1387:64f18488b275
util.pluginloader: Remove unnecessary return value suppressing the real load error
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 22 Jun 2009 21:56:52 +0100 |
parents | 1386:9132f16666e4 |
children | 1388:546caa44620c |
files | util/pluginloader.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;