Diff

core/s2smanager.lua @ 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
parent 4106:e19fc274e182
child 4131:81636fa77cab
child 4187:1cad1c3495dd
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