Diff

core/moduleapi.lua @ 5163:854f6d9aee2d

moduleapi: Revert previous commit and add comment, it's meant to be this way
author Matthew Wild <mwild1@gmail.com>
date Sat, 29 Sep 2012 17:07:08 +0100
parent 5161:3275a9705ef3
child 5377:898454038524
line wrap: on
line diff
--- a/core/moduleapi.lua	Sat Sep 29 10:46:03 2012 +0100
+++ b/core/moduleapi.lua	Sat Sep 29 17:07:08 2012 +0100
@@ -7,7 +7,7 @@
 --
 
 local config = require "core.configmanager";
-local modulemanager = require "core.modulemanager";
+local modulemanager = require "modulemanager"; -- This is necessary to avoid require loops
 local array = require "util.array";
 local set = require "util.set";
 local logger = require "util.logger";