# HG changeset patch # User Kim Alvefur # Date 1670015009 -3600 # Node ID 801ca82b65380689523ed0932c8811c08eafda93 # Parent e55d1f7a570a42eaa12db88fa910eca5d59e3b76 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 diff -r e55d1f7a570a -r 801ca82b6538 mod_s2soutinjection/mod_s2soutinjection.lua --- 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];