Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.lua @ 6321:566c8e571108
mod_s2s: Remove unused locals
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 25 Jul 2014 21:12:21 +0200 |
parent | 6319:92d009af6eba |
child | 6367:769a3577dd85 |
comparison
equal
deleted
inserted
replaced
6320:17344d25a0f6 | 6321:566c8e571108 |
---|---|
13 local core_process_stanza = prosody.core_process_stanza; | 13 local core_process_stanza = prosody.core_process_stanza; |
14 | 14 |
15 local tostring, type = tostring, type; | 15 local tostring, type = tostring, type; |
16 local t_insert = table.insert; | 16 local t_insert = table.insert; |
17 local xpcall, traceback = xpcall, debug.traceback; | 17 local xpcall, traceback = xpcall, debug.traceback; |
18 local NULL = {}; | |
19 | 18 |
20 local add_task = require "util.timer".add_task; | 19 local add_task = require "util.timer".add_task; |
21 local st = require "util.stanza"; | 20 local st = require "util.stanza"; |
22 local initialize_filters = require "util.filters".initialize; | 21 local initialize_filters = require "util.filters".initialize; |
23 local nameprep = require "util.encodings".stringprep.nameprep; | 22 local nameprep = require "util.encodings".stringprep.nameprep; |
24 local new_xmpp_stream = require "util.xmppstream".new; | 23 local new_xmpp_stream = require "util.xmppstream".new; |
25 local s2s_new_incoming = require "core.s2smanager".new_incoming; | 24 local s2s_new_incoming = require "core.s2smanager".new_incoming; |
26 local s2s_new_outgoing = require "core.s2smanager".new_outgoing; | 25 local s2s_new_outgoing = require "core.s2smanager".new_outgoing; |
27 local s2s_destroy_session = require "core.s2smanager".destroy_session; | 26 local s2s_destroy_session = require "core.s2smanager".destroy_session; |
28 local uuid_gen = require "util.uuid".generate; | 27 local uuid_gen = require "util.uuid".generate; |
29 local cert_verify_identity = require "util.x509".verify_identity; | |
30 local fire_global_event = prosody.events.fire_event; | 28 local fire_global_event = prosody.events.fire_event; |
31 | 29 |
32 local s2sout = module:require("s2sout"); | 30 local s2sout = module:require("s2sout"); |
33 | 31 |
34 local connect_timeout = module:get_option_number("s2s_timeout", 90); | 32 local connect_timeout = module:get_option_number("s2s_timeout", 90); |