Wed, 05 May 2010 20:35:06 +0100
prosodyctl: Use the global events objects for hosts (again) (thanks albert) (sorry albert)
prosodyctl | file | annotate | diff | comparison | revisions |
--- 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"