Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
7389:bbed548b4306 | 7390:3219b23c4255 |
---|---|
11 local hosts = _G.hosts; | 11 local hosts = _G.hosts; |
12 local new_xmpp_stream = require "util.xmppstream".new; | 12 local new_xmpp_stream = require "util.xmppstream".new; |
13 local sm = require "core.sessionmanager"; | 13 local sm = require "core.sessionmanager"; |
14 local sm_destroy_session = sm.destroy_session; | 14 local sm_destroy_session = sm.destroy_session; |
15 local new_uuid = require "util.uuid".generate; | 15 local new_uuid = require "util.uuid".generate; |
16 local fire_event = prosody.events.fire_event; | |
17 local core_process_stanza = prosody.core_process_stanza; | 16 local core_process_stanza = prosody.core_process_stanza; |
18 local st = require "util.stanza"; | 17 local st = require "util.stanza"; |
19 local logger = require "util.logger"; | 18 local logger = require "util.logger"; |
20 local log = logger.init("mod_bosh"); | 19 local log = logger.init("mod_bosh"); |
21 local initialize_filters = require "util.filters".initialize; | 20 local initialize_filters = require "util.filters".initialize; |
22 local math_min = math.min; | 21 local math_min = math.min; |
23 local xpcall, tostring, type = xpcall, tostring, type; | 22 local tostring, type = tostring, type; |
24 local traceback = debug.traceback; | 23 local traceback = debug.traceback; |
25 local runner = require"util.async".runner; | 24 local runner = require"util.async".runner; |
26 local nameprep = require "util.encodings".stringprep.nameprep; | 25 local nameprep = require "util.encodings".stringprep.nameprep; |
27 | 26 |
28 local xmlns_streams = "http://etherx.jabber.org/streams"; | 27 local xmlns_streams = "http://etherx.jabber.org/streams"; |