From 1a138d2e57818f585c9244a4230d7387c50777ea Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 24 Aug 2008 22:48:27 +0100 Subject: - Remove some debugging code - Don't allow stanzas to be sent before successful auth (needs further review) - Make init_xmlhandlers local - Fix indentation in main.lua - Fix disconnect logic (it broke if client disconnected before auth, etc.) --- core/xmlhandlers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/xmlhandlers.lua') diff --git a/core/xmlhandlers.lua b/core/xmlhandlers.lua index 4d536ce3..b9c557fa 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(""); - send(format("", session.streamid, session.host)); + send(format("", session.streamid, session.host)); --send(""); --send("PLAIN"); --send [[ ]] -- cgit v1.2.3