aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 0bc9869d..8b2485ad 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -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"