diff options
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"; |