stanza_router: Changed to use the prosody.events object directly, rather than through eventmanager2

Sun, 31 May 2009 00:43:24 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Sun, 31 May 2009 00:43:24 +0500
changeset 1244
3df7417225fe
parent 1243
cd004d83a12a
child 1245
be5fe60bd866

stanza_router: Changed to use the prosody.events object directly, rather than through eventmanager2

core/stanza_router.lua file | annotate | diff | comparison | revisions
--- a/core/stanza_router.lua	Sun May 31 00:41:53 2009 +0500
+++ b/core/stanza_router.lua	Sun May 31 00:43:24 2009 +0500
@@ -42,7 +42,7 @@
 local jid_split = require "util.jid".split;
 local jid_prepped_split = require "util.jid".prepped_split;
 local print = print;
-local fire_event = require "core.eventmanager2".fire_event;
+local fire_event = prosody.events.fire_event;
 
 local select_best_resources;
 

mercurial