--- a/prosodyctl Wed May 05 20:14:24 2010 +0100 +++ b/prosodyctl Wed May 05 20:35:06 2010 +0100 @@ -123,7 +123,7 @@ 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"