Changeset

3015:aad8034ab389

prosodyctl: Use the global events objects for hosts (again) (thanks albert) (sorry albert)
author Matthew Wild <mwild1@gmail.com>
date Wed, 05 May 2010 20:35:06 +0100
parents 3014:169d096988e1
children 3016:b6046df19898
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"