core/modulemanager.lua

changeset 748
172c43d735e9
parent 747
40837f3422ab
child 758
b1885732e979
--- 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";

mercurial