# HG changeset patch # User Kim Alvefur # Date 1612384905 -3600 # Node ID db146bf7b12081476e1727a8b277c58fb6142b5f # Parent ebbf8dca33d2158b634aa40fa3cf99879340a888 mod_c2s: Reflect stream 'from' attribute back if set (fix #1625) Clients should *not* be setting this before TLS anyways. diff -r ebbf8dca33d2 -r db146bf7b120 plugins/mod_c2s.lua --- a/plugins/mod_c2s.lua Wed Feb 03 16:14:43 2021 +0100 +++ b/plugins/mod_c2s.lua Wed Feb 03 21:41:45 2021 +0100 @@ -90,7 +90,7 @@ return; end - session:open_stream(); + session:open_stream(host, attr.from); (session.log or log)("debug", "Sent reply to client"); session.notopen = nil;