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
commitd1578059cb3152347cddb265cf4b224741dc3997 (patch)
treedf49d2d9a020662585c59493bbece83d9e2093dc
parentf46a677512bbc57129de689c6ce2ae3b32278a09 (diff)
downloadprosody-d1578059cb3152347cddb265cf4b224741dc3997.tar.gz
prosody-d1578059cb3152347cddb265cf4b224741dc3997.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