projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util.pluginloader: Remove unnecessary return value suppressing the real load error
[prosody.git]
/
util
/
pluginloader.lua
diff --git
a/util/pluginloader.lua
b/util/pluginloader.lua
index 1bf22f626a447eff5a68a79c623d5603c4f0077b..86075c9071ac50fe57df53b293971295760df0f6 100644
(file)
--- 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;