From d0c208f5f118d1ba37677369d8ba6477064671bc Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 5 May 2010 20:35:06 +0100 Subject: prosodyctl: Use the global events objects for hosts (again) (thanks albert) (sorry albert) --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prosodyctl') 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" -- cgit v1.2.3