Mercurial > prosody-modules
comparison mod_onions/mod_onions.lua @ 2703:c0237567bbb1
mod_onions: Import luasocket (fixes #898)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 24 Apr 2017 18:12:08 +0200 |
parents | 2df32ac11b31 |
children | 5ab27d3741b4 |
comparison
equal
deleted
inserted
replaced
2702:caabb980d1d8 | 2703:c0237567bbb1 |
---|---|
3 | 3 |
4 local wrapclient = require "net.server".wrapclient; | 4 local wrapclient = require "net.server".wrapclient; |
5 local s2s_new_outgoing = require "core.s2smanager".new_outgoing; | 5 local s2s_new_outgoing = require "core.s2smanager".new_outgoing; |
6 local initialize_filters = require "util.filters".initialize; | 6 local initialize_filters = require "util.filters".initialize; |
7 local st = require "util.stanza"; | 7 local st = require "util.stanza"; |
8 local socket = require "socket"; | |
8 | 9 |
9 local portmanager = require "core.portmanager"; | 10 local portmanager = require "core.portmanager"; |
10 | 11 |
11 local softreq = require "util.dependencies".softreq; | 12 local softreq = require "util.dependencies".softreq; |
12 | 13 |