# HG changeset patch # User Matthew Wild # Date 1246467198 -3600 # Node ID c1c7b27b983b4fe21878317c95c2a9fb46f92524 # Parent 6a90316a81c342f89c8e396bf7b279e0dfabc91b Send xml:lang in stream headers, fixes #78 diff -r 6a90316a81c3 -r c1c7b27b983b core/s2smanager.lua --- 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([[]], from_host, to_host)); + conn.write(format([[]], from_host, to_host)); log("debug", "Connection attempt in progress..."); return true; end diff -r 6a90316a81c3 -r c1c7b27b983b core/sessionmanager.lua --- a/core/sessionmanager.lua Wed Jul 01 15:14:44 2009 +0200 +++ b/core/sessionmanager.lua Wed Jul 01 17:53:18 2009 +0100 @@ -165,7 +165,7 @@ (session.log or session)("debug", "Client sent opening to %s", session.host); send(""); - send(format("", session.streamid, session.host)); + send(format("", session.streamid, session.host)); if not hosts[session.host] then -- We don't serve this host...