diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-01-26 13:23:39 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-01-26 13:23:39 +0000 |
commit | 215af9f1975a7d5b9f91b635fa4a82170c4f26bd (patch) | |
tree | dc2797755cbfb77d7705b2ff5f5af375093839cd | |
parent | 75862530f265ec9fdc58f7937d90367d252ce74a (diff) | |
download | prosody-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.lua | 3 |
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 |