aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
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 /core/s2smanager.lua
parent75862530f265ec9fdc58f7937d90367d252ce74a (diff)
downloadprosody-215af9f1975a7d5b9f91b635fa4a82170c4f26bd.tar.gz
prosody-215af9f1975a7d5b9f91b635fa4a82170c4f26bd.zip
s2smanager: Change 'Connection failed' error message text to 'Server-to-server connection failed' (thanks Paul)
Diffstat (limited to 'core/s2smanager.lua')
-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