projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3807ede
)
util.pluginloader: Remove unnecessary return value suppressing the real load error
author
Matthew Wild
<mwild1@gmail.com>
Mon, 22 Jun 2009 20:56:52 +0000
(21:56 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Mon, 22 Jun 2009 20:56:52 +0000
(21:56 +0100)
util/pluginloader.lua
patch
|
blob
|
history
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;