Changeset

1954:4ef18b2dcc21

xmppserver_listener: Fix typo (thanks Jorj)
author Matthew Wild <mwild1@gmail.com>
date Thu, 15 Oct 2009 14:16:22 +0100
parents 1952:4a15b176fca8
children 1955:a9a8ef70d14c
files net/xmppserver_listener.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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();