aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-14 13:27:02 +0100
committerKim Alvefur <zash@zash.se>2016-03-14 13:27:02 +0100
commit676efc69a2b46299df9f3d2a6c35588fed2b9cc0 (patch)
treedf49d2d9a020662585c59493bbece83d9e2093dc
parent85a09491d9ec8c93be3014964d5bc93d44759bfe (diff)
downloadprosody-676efc69a2b46299df9f3d2a6c35588fed2b9cc0.tar.gz
prosody-676efc69a2b46299df9f3d2a6c35588fed2b9cc0.zip
mod_s2s: Include name of remote server when it's missing the stream ID (thanks Ge0rG)
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
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