aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-02-23 23:09:09 +0100
committerKim Alvefur <zash@zash.se>2012-02-23 23:09:09 +0100
commitd30dec6f355008b4b60b7ae7739e5ca6baa48f05 (patch)
tree5ce2a0cfe983cc3abe4867b7aba877d422e354bf
parent7a3928f68e1bb18f483ce9c58c6f2e1d73204213 (diff)
downloadprosody-d30dec6f355008b4b60b7ae7739e5ca6baa48f05.tar.gz
prosody-d30dec6f355008b4b60b7ae7739e5ca6baa48f05.zip
s2sout.lib: Import various util.*
-rw-r--r--plugins/s2s/s2sout.lib.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/s2s/s2sout.lib.lua b/plugins/s2s/s2sout.lib.lua
index 094126e7..d84854a8 100644
--- a/plugins/s2s/s2sout.lib.lua
+++ b/plugins/s2s/s2sout.lib.lua
@@ -8,12 +8,18 @@
--- Module containing all the logic for connecting to a remote server
+local wrapclient = require "net.server".wrapclient;
local initialize_filters = require "util.filters".initialize;
local idna_to_ascii = require "util.encodings".idna.to_ascii;
local add_task = require "util.timer".add_task;
+local new_ip = require "util.ip".new_ip;
+local rfc3484_dest = require "util.rfc3484".destination;
local socket = require "socket";
+local t_insert, t_sort = table.insert, table.sort;
+local st = require "util.stanza";
local s2s_destroy_session = require "core.s2smanager".destroy_session;
+local s2s_new_outgoing = require "core.s2smanager".new_outgoing;
local s2sout = {};