diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-01-29 02:01:09 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-01-29 02:01:09 +0000 |
commit | 62890f2d66883497d287cc5f273de6b6f4882d48 (patch) | |
tree | f699a31f5efb052230411d4cea189748d192d512 /core/modulemanager.lua | |
parent | 6057fe64c95a06c9c8e2901c89324f543b2a8730 (diff) | |
download | prosody-62890f2d66883497d287cc5f273de6b6f4882d48.tar.gz prosody-62890f2d66883497d287cc5f273de6b6f4882d48.zip |
modulemanager: Really fix call_module_method to work properly
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r-- | core/modulemanager.lua | 2 |
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"; |