# HG changeset patch # User Kim Alvefur # Date 1624275944 -7200 # Node ID 1b7669c49459487453076e9fecaecba5988eb62d # Parent cce5191a65a76d42e10ecb874733b1426a694b6a mod_s2s: Remove duplicate method call (thanks luacheck) Should have been removed in the previous commit. diff -r cce5191a65a7 -r 1b7669c49459 plugins/mod_s2s.lua --- 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)