From 676efc69a2b46299df9f3d2a6c35588fed2b9cc0 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/mod_s2s') 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