aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-29 02:01:09 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-29 02:01:09 +0000
commit62890f2d66883497d287cc5f273de6b6f4882d48 (patch)
treef699a31f5efb052230411d4cea189748d192d512 /core
parent6057fe64c95a06c9c8e2901c89324f543b2a8730 (diff)
downloadprosody-62890f2d66883497d287cc5f273de6b6f4882d48.tar.gz
prosody-62890f2d66883497d287cc5f273de6b6f4882d48.zip
modulemanager: Really fix call_module_method to work properly
Diffstat (limited to 'core')
-rw-r--r--core/modulemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index b0b2b636..8292eaa5 100644
--- 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";