aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-01-26 13:23:39 +0000
committerMatthew Wild <mwild1@gmail.com>2011-01-26 13:23:39 +0000
commit215af9f1975a7d5b9f91b635fa4a82170c4f26bd (patch)
treedc2797755cbfb77d7705b2ff5f5af375093839cd
parent75862530f265ec9fdc58f7937d90367d252ce74a (diff)
downloadprosody-215af9f1975a7d5b9f91b635fa4a82170c4f26bd.tar.gz
prosody-215af9f1975a7d5b9f91b635fa4a82170c4f26bd.zip
s2smanager: Change 'Connection failed' error message text to 'Server-to-server connection failed' (thanks Paul)
-rw-r--r--core/s2smanager.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 1d038433..04ea459d 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -75,7 +75,8 @@ local function bounce_sendq(session, reason)
reply:tag("error", {type = "cancel"})
:tag("remote-server-not-found", {xmlns = "urn:ietf:params:xml:ns:xmpp-stanzas"}):up();
if reason then
- reply:tag("text", {xmlns = "urn:ietf:params:xml:ns:xmpp-stanzas"}):text("Connection failed: "..reason):up();
+ reply:tag("text", {xmlns = "urn:ietf:params:xml:ns:xmpp-stanzas"})
+ :text("Server-to-server connection failed: "..reason):up();
end
core_process_stanza(dummy, reply);
end