From ab7abe3f8c6d5183ab7aa2cf9a5af37754282952 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 21 Jun 2021 13:45:44 +0200 Subject: mod_s2s: Remove duplicate method call (thanks luacheck) Should have been removed in the previous commit. --- plugins/mod_s2s.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_s2s.lua b/plugins/mod_s2s.lua index 08b9eedb..143a9cd6 100644 --- a/plugins/mod_s2s.lua +++ b/plugins/mod_s2s.lua @@ -387,7 +387,6 @@ function stream_callbacks._streamopened(session, attr) 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) -- cgit v1.2.3