Software /
code /
prosody
Diff
plugins/mod_bosh.lua @ 3439:3d1eacf45230
mod_bosh: Remove dependency on eventmanager
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 03 Aug 2010 11:01:13 +0100 |
parent | 3322:c4e107e7c883 |
child | 3447:cc2dc55e66f9 |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Tue Aug 03 10:59:47 2010 +0100 +++ b/plugins/mod_bosh.lua Tue Aug 03 11:01:13 2010 +0100 @@ -16,7 +16,7 @@ local sm = require "core.sessionmanager"; local sm_destroy_session = sm.destroy_session; local new_uuid = require "util.uuid".generate; -local fire_event = require "core.eventmanager".fire_event; +local fire_event = prosody.events.fire_event; local core_process_stanza = core_process_stanza; local st = require "util.stanza"; local logger = require "util.logger";