Diff

plugins/mod_bosh.lua @ 7390:3219b23c4255

mod_bosh: Remove unused imports (also mistake in merge)
author Kim Alvefur <zash@zash.se>
date Tue, 19 Apr 2016 17:59:49 +0200
parent 7389:bbed548b4306
child 7391:c381106173d0
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Tue Apr 19 17:59:22 2016 +0200
+++ b/plugins/mod_bosh.lua	Tue Apr 19 17:59:49 2016 +0200
@@ -13,14 +13,13 @@
 local sm = require "core.sessionmanager";
 local sm_destroy_session = sm.destroy_session;
 local new_uuid = require "util.uuid".generate;
-local fire_event = prosody.events.fire_event;
 local core_process_stanza = prosody.core_process_stanza;
 local st = require "util.stanza";
 local logger = require "util.logger";
 local log = logger.init("mod_bosh");
 local initialize_filters = require "util.filters".initialize;
 local math_min = math.min;
-local xpcall, tostring, type = xpcall, tostring, type;
+local tostring, type = tostring, type;
 local traceback = debug.traceback;
 local runner = require"util.async".runner;
 local nameprep = require "util.encodings".stringprep.nameprep;