Comparison

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
comparison
equal deleted inserted replaced
3438:9a8b716fda14 3439:3d1eacf45230
14 local server = require "net.server"; 14 local server = require "net.server";
15 local httpserver = require "net.httpserver"; 15 local httpserver = require "net.httpserver";
16 local sm = require "core.sessionmanager"; 16 local sm = require "core.sessionmanager";
17 local sm_destroy_session = sm.destroy_session; 17 local sm_destroy_session = sm.destroy_session;
18 local new_uuid = require "util.uuid".generate; 18 local new_uuid = require "util.uuid".generate;
19 local fire_event = require "core.eventmanager".fire_event; 19 local fire_event = prosody.events.fire_event;
20 local core_process_stanza = core_process_stanza; 20 local core_process_stanza = core_process_stanza;
21 local st = require "util.stanza"; 21 local st = require "util.stanza";
22 local logger = require "util.logger"; 22 local logger = require "util.logger";
23 local log = logger.init("mod_bosh"); 23 local log = logger.init("mod_bosh");
24 24