Diff

plugins/mod_s2s.lua @ 11624:1b7669c49459

mod_s2s: Remove duplicate method call (thanks luacheck) Should have been removed in the previous commit.
author Kim Alvefur <zash@zash.se>
date Mon, 21 Jun 2021 13:45:44 +0200
parent 11623:cce5191a65a7
child 11668:f18fbae6d9fe
line wrap: on
line diff
--- a/plugins/mod_s2s.lua	Mon Jun 21 13:43:40 2021 +0200
+++ b/plugins/mod_s2s.lua	Mon Jun 21 13:45:44 2021 +0200
@@ -387,7 +387,6 @@
 		local sock = session.conn:socket();
 		local info = sock.info and sock:info();
 		if type(info) == "table" then
-			local info = sock:info();
 			(session.log or log)("info", "Stream encrypted (%s with %s)", info.protocol, info.cipher);
 			session.compressed = info.compression;
 			m_tls_params:with_labels(info.protocol, info.cipher):add(1)