From d1578059cb3152347cddb265cf4b224741dc3997 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 14 Mar 2016 13:27:02 +0100 Subject: mod_s2s: Include name of remote server when it's missing the stream ID (thanks Ge0rG) --- plugins/mod_s2s/mod_s2s.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua index 3e80c77b..16320ad1 100644 --- a/plugins/mod_s2s/mod_s2s.lua +++ b/plugins/mod_s2s/mod_s2s.lua @@ -363,7 +363,7 @@ function stream_callbacks.streamopened(session, attr) elseif session.direction == "outgoing" then session.notopen = nil; if not attr.id then - log("error", "Stream response did not give us a stream id!"); + log("error", "Stream response from %s did not give us a stream id!", session.to_host); session:close({ condition = "undefined-condition", text = "Missing stream ID" }); return; end -- cgit v1.2.3