aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/moduleapi.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua
index 7a4d1fa6..b11fd7b3 100644
--- a/core/moduleapi.lua
+++ b/core/moduleapi.lua
@@ -50,6 +50,7 @@ function api:set_global()
local _log = logger.init("mod_"..self.name);
self.log = function (self, ...) return _log(...); end;
self._log = _log;
+ self.global = true;
end
function api:add_feature(xmlns)