Diff

core/stanza_router.lua @ 1244:3df7417225fe

stanza_router: Changed to use the prosody.events object directly, rather than through eventmanager2
author Waqas Hussain <waqas20@gmail.com>
date Sun, 31 May 2009 00:43:24 +0500
parent 1230:53555f58586f
child 1254:c199be608546
line wrap: on
line diff
--- 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;