mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
prosodyctl: Use the global events objects for hosts (again) (thanks albert) (sorry albert)
This commit is contained in:
parent
2d20f6c05c
commit
d0c208f5f1
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ local error_messages = setmetatable({
|
|||
hosts = prosody.hosts;
|
||||
|
||||
for hostname, config in pairs(config.getconfig()) do
|
||||
hosts[hostname] = { events = require "util.events".new() };
|
||||
hosts[hostname] = { events = prosody.events };
|
||||
end
|
||||
|
||||
require "core.modulemanager"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue