core/modulemanager.lua
branch0.12
changeset 12454 7efd4bcaa95c
parent 12279 13624194984b
child 12976 ead41e25ebc0
--- a/core/modulemanager.lua	Sun Apr 03 12:56:11 2022 +0100
+++ b/core/modulemanager.lua	Mon Apr 04 18:44:57 2022 +0200
@@ -189,6 +189,7 @@
 		if module_has_method(mod, "add_host") then
 			local _log = logger.init(host..":"..module_name);
 			local host_module_api = setmetatable({
+				global = false,
 				host = host, event_handlers = new_multitable(), items = {};
 				_log = _log, log = function (self, ...) return _log(...); end; --luacheck: ignore 212/self
 			},{