Comparison

plugins/s2s/mod_s2s.lua @ 4558:d312c8605ed7

mod_s2s: Add some missing imports
author Kim Alvefur <zash@zash.se>
date Wed, 22 Feb 2012 23:12:57 +0100
parent 4555:3dce04129693
child 4559:e2ee6aa50b6c
comparison
equal deleted inserted replaced
4557:2abe4e541d52 4558:d312c8605ed7
16 local initialize_filters = require "util.filters".initialize; 16 local initialize_filters = require "util.filters".initialize;
17 local new_xmpp_stream = require "util.xmppstream".new; 17 local new_xmpp_stream = require "util.xmppstream".new;
18 local s2s_new_incoming = require "core.s2smanager".new_incoming; 18 local s2s_new_incoming = require "core.s2smanager".new_incoming;
19 local s2s_new_outgoing = require "core.s2smanager".new_outgoing; 19 local s2s_new_outgoing = require "core.s2smanager".new_outgoing;
20 local s2s_destroy_session = require "core.s2smanager".destroy_session; 20 local s2s_destroy_session = require "core.s2smanager".destroy_session;
21 local nameprep = require "util.encodings".stringprep.nameprep;
22 local uuid_gen = require "util.uuid".generate;
23 local cert_verify_identity = require "util.x509".verify_identity;
21 24
22 local s2sout = module:require("s2sout"); 25 local s2sout = module:require("s2sout");
23 26
24 local connect_timeout = module:get_option_number("s2s_timeout", 60); 27 local connect_timeout = module:get_option_number("s2s_timeout", 60);
25 28