Mercurial > prosody-modules
diff 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 |
line wrap: on
line diff
--- a/mod_onions/mod_onions.lua Mon Apr 24 20:57:23 2017 +0200 +++ b/mod_onions/mod_onions.lua Mon Apr 24 18:12:08 2017 +0200 @@ -5,6 +5,7 @@ local s2s_new_outgoing = require "core.s2smanager".new_outgoing; local initialize_filters = require "util.filters".initialize; local st = require "util.stanza"; +local socket = require "socket"; local portmanager = require "core.portmanager";