# HG changeset patch # User Matthew Wild # Date 1233194469 0 # Node ID 172c43d735e9ef1c9f3d790db81bcd5e0d961f05 # Parent 40837f3422abcba1373790bfae21b4d56f339fa2 modulemanager: Really fix call_module_method to work properly diff -r 40837f3422ab -r 172c43d735e9 core/modulemanager.lua --- 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";