author | Kim Alvefur <zash@zash.se> |
Mon, 04 Apr 2022 19:10:05 +0200 | |
changeset 12455 | 76887863a6ae |
parent 12453 | 6ec3fbae05c9 (current diff) |
parent 12454 | 7efd4bcaa95c (diff) |
child 12457 | 1ec4a3a61cf7 |
--- a/core/modulemanager.lua Sun Apr 03 12:57:11 2022 +0100 +++ b/core/modulemanager.lua Mon Apr 04 19:10:05 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 },{