diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-08-26 16:57:00 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-08-26 16:57:00 +0100 |
commit | 42051336dcb360df4affa56d9ec8ecb848f7764a (patch) | |
tree | 71da25f6710e99f145e4581e7f875fb582d46c2c /core/xmlhandlers.lua | |
parent | 3c5654cfc8fb53672714cdb8309c0a6d71018ead (diff) | |
download | prosody-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.lua | 2 |
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"/> ]] |