Changeset

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
parents 1243:cd004d83a12a
children 1245:be5fe60bd866
files core/stanza_router.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;