# HG changeset patch # User Kim Alvefur # Date 1461081589 -7200 # Node ID 3219b23c42556fed51c521b0871cfc2893bd6e9d # Parent bbed548b4306b52726bf8065aef73fe71891c4bf mod_bosh: Remove unused imports (also mistake in merge) diff -r bbed548b4306 -r 3219b23c4255 plugins/mod_bosh.lua --- 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;