aboutsummaryrefslogtreecommitdiffstats
path: root/core/xmlhandlers.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-08-26 16:57:00 +0100
committerMatthew Wild <mwild1@gmail.com>2008-08-26 16:57:00 +0100
commit42051336dcb360df4affa56d9ec8ecb848f7764a (patch)
tree71da25f6710e99f145e4581e7f875fb582d46c2c /core/xmlhandlers.lua
parent3c5654cfc8fb53672714cdb8309c0a6d71018ead (diff)
downloadprosody-42051336dcb360df4affa56d9ec8ecb848f7764a.tar.gz
prosody-42051336dcb360df4affa56d9ec8ecb848f7764a.zip
Remove some debugging messages
Connection now closed on error Removed version='1.0' to keep it working with non-SASL
Diffstat (limited to 'core/xmlhandlers.lua')
-rw-r--r--core/xmlhandlers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/xmlhandlers.lua b/core/xmlhandlers.lua
index b9c557fa..f731d3d5 100644
--- a/core/xmlhandlers.lua
+++ b/core/xmlhandlers.lua
@@ -42,7 +42,7 @@ function init_xmlhandlers(session)
session.streamid = m_random(1000000, 99999999);
print(session, session.host, "Client opened stream");
send("<?xml version='1.0'?>");
- send(format("<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='%s' from='%s' version='1.0'>", session.streamid, session.host));
+ send(format("<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='%s' from='%s'>", session.streamid, session.host));
--send("<stream:features>");
--send("<mechanism>PLAIN</mechanism>");
--send [[<register xmlns="http://jabber.org/features/iq-register"/> ]]