mod_s2soutinjection: Remove undefined global (thanks Damian)
Probably leftover from mod_onions. I don't think this had any effect
other than Prosody warning about touching the global scope
--- a/mod_s2soutinjection/mod_s2soutinjection.lua Fri Dec 02 22:02:55 2022 +0100
+++ b/mod_s2soutinjection/mod_s2soutinjection.lua Fri Dec 02 22:03:29 2022 +0100
@@ -15,7 +15,7 @@
-- The proxy_listener handles connection while still connecting to the proxy,
-- then it hands them over to the normal listener (in mod_s2s)
-local proxy_listener = { default_port = port, default_mode = "*a", default_interface = "*" };
+local proxy_listener = { default_port = nil, default_mode = "*a", default_interface = "*" };
function proxy_listener.onconnect(conn)
local session = sessions[conn];