# HG changeset patch # User Waqas Hussain # Date 1243712604 -18000 # Node ID 3df7417225fe57f0f406a37f95dadcb1293a4821 # Parent cd004d83a12ab9e441b816d94ae9611b93a877ed stanza_router: Changed to use the prosody.events object directly, rather than through eventmanager2 diff -r cd004d83a12a -r 3df7417225fe core/stanza_router.lua --- 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;