Software /
code /
prosody
Diff
core/modulemanager.lua @ 748:172c43d735e9
modulemanager: Really fix call_module_method to work properly
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 29 Jan 2009 02:01:09 +0000 |
parent | 747:40837f3422ab |
child | 758:b1885732e979 |
line wrap: on
line diff
--- a/core/modulemanager.lua Thu Jan 29 01:58:11 2009 +0000 +++ b/core/modulemanager.lua Thu Jan 29 02:01:09 2009 +0000 @@ -235,7 +235,7 @@ 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";