Diff

net/xmppserver_listener.lua @ 1954:4ef18b2dcc21

xmppserver_listener: Fix typo (thanks Jorj)
author Matthew Wild <mwild1@gmail.com>
date Thu, 15 Oct 2009 14:16:22 +0100
parent 1951:632039101699
child 1955:a9a8ef70d14c
line wrap: on
line diff
--- a/net/xmppserver_listener.lua	Wed Oct 14 14:09:51 2009 +0100
+++ b/net/xmppserver_listener.lua	Thu Oct 15 14:16:22 2009 +0100
@@ -99,7 +99,7 @@
 			end
 		end
 		session.sends2s("</stream:stream>");
-		if sesson.notopen or not session.conn.close() then
+		if session.notopen or not session.conn.close() then
 			session.conn.close(true); -- Force FIXME: timer?
 		end
 		session.conn.close();