projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9792f2
)
modulemanager: Really fix call_module_method to work properly
author
Matthew Wild
<mwild1@gmail.com>
Thu, 29 Jan 2009 02:01:09 +0000
(
02:01
+0000)
committer
Matthew Wild
<mwild1@gmail.com>
Thu, 29 Jan 2009 02:01:09 +0000
(
02:01
+0000)
core/modulemanager.lua
patch
|
blob
|
history
diff --git
a/core/modulemanager.lua
b/core/modulemanager.lua
index b0b2b636b5ad4323b9efafb627b60fae3c0b4feb..8292eaa5d0d4147ce92cab7cad93fb1aecf3b981 100644
(file)
--- a/
core/modulemanager.lua
+++ b/
core/modulemanager.lua
@@
-235,7
+235,7
@@
end
function call_module_method(module, method, ...)
if module_has_method(module, method) then
- local f = module.module[
func
];
+ local f = module.module[
method
];
return pcall(f, ...);
else
return false, "no-such-method";