core/s2smanager.lua

changeset 1450
c1c7b27b983b
parent 1345
35b5686d73ea
child 1468
83b297a412a2
--- a/core/s2smanager.lua	Wed Jul 01 15:14:44 2009 +0200
+++ b/core/s2smanager.lua	Wed Jul 01 17:53:18 2009 +0100
@@ -253,7 +253,7 @@
 	local w = conn.write;
 	host_session.sends2s = function (t) log("debug", "sending: %s", tostring(t)); w(tostring(t)); end
 	
-	conn.write(format([[<stream:stream xmlns='jabber:server' xmlns:db='jabber:server:dialback' xmlns:stream='http://etherx.jabber.org/streams' from='%s' to='%s' version='1.0'>]], from_host, to_host));
+	conn.write(format([[<stream:stream xmlns='jabber:server' xmlns:db='jabber:server:dialback' xmlns:stream='http://etherx.jabber.org/streams' from='%s' to='%s' version='1.0' xml:lang='en'>]], from_host, to_host));
 	log("debug", "Connection attempt in progress...");
 	return true;
 end

mercurial