diff options
Diffstat (limited to 'core/moduleapi.lua')
-rw-r--r-- | core/moduleapi.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua index e5f86b37..c30a8936 100644 --- a/core/moduleapi.lua +++ b/core/moduleapi.lua @@ -370,7 +370,9 @@ function api:open_store(name, type) return require"core.storagemanager".open(self.host, name or self.name, type); end -return function (mm) +function api.init(mm) modulemanager = mm; return api; end + +return api; |