Changeset

4127:f80b7a92da67

s2smanager: Change 'Connection failed' error message text to 'Server-to-server connection failed' (thanks Paul)
author Matthew Wild <mwild1@gmail.com>
date Wed, 26 Jan 2011 13:23:39 +0000
parents 4125:5cf13260edec
children 4128:b6d072a3668d
files core/s2smanager.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/s2smanager.lua	Fri Jan 21 14:02:02 2011 +0000
+++ b/core/s2smanager.lua	Wed Jan 26 13:23:39 2011 +0000
@@ -75,7 +75,8 @@
 				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