Diff

core/modulemanager.lua @ 6422:6d4d87a89026

core.module{manager,api}: Fix for 010b141e91ed (Thanks v1ct0r)
author Kim Alvefur <zash@zash.se>
date Tue, 23 Sep 2014 00:23:33 +0200
parent 6415:010b141e91ed
child 6660:30672cc3d8ee
line wrap: on
line diff
--- a/core/modulemanager.lua	Thu Sep 18 10:21:38 2014 +0200
+++ b/core/modulemanager.lua	Tue Sep 23 00:23:33 2014 +0200
@@ -37,7 +37,7 @@
 
 module "modulemanager"
 
-local api = _G.require "core.moduleapi"(_M); -- Module API container
+local api = _G.require "core.moduleapi".init(_M); -- Module API container
 
 -- [host] = { [module] = module_env }
 local modulemap = { ["*"] = {} };