Software /
code /
prosody
Changeset
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 |
parents | 11623:cce5191a65a7 |
children | 11625:04abe65b8067 |
files | plugins/mod_s2s.lua |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
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)