aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-05-05 20:35:06 +0100
committerMatthew Wild <mwild1@gmail.com>2010-05-05 20:35:06 +0100
commitd0c208f5f118d1ba37677369d8ba6477064671bc (patch)
treea4c0ef9fa58247f0226463cfaa1e3884c67f6a2c
parent2d20f6c05c62f2bf61ad6e845141087f3ad84f91 (diff)
downloadprosody-d0c208f5f118d1ba37677369d8ba6477064671bc.tar.gz
prosody-d0c208f5f118d1ba37677369d8ba6477064671bc.zip
prosodyctl: Use the global events objects for hosts (again) (thanks albert) (sorry albert)
-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"