diff options
-rw-r--r-- | net/xmppserver_listener.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua index ccea1170..c954fcca 100644 --- a/net/xmppserver_listener.lua +++ b/net/xmppserver_listener.lua @@ -100,7 +100,7 @@ local function session_close(session, reason) 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(); |