Software /
code /
prosody
Changeset
12451:76887863a6ae
Merge 0.12->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 04 Apr 2022 19:10:05 +0200 |
parents | 12449:6ec3fbae05c9 (current diff) 12450:7efd4bcaa95c (diff) |
children | 12453:1ec4a3a61cf7 |
files | |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 },{