aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-15 14:16:22 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-15 14:16:22 +0100
commitfececf2a21113023fd618d8a17ca21d1663fef11 (patch)
treedffd61a328f04cc5d8b7f679661d967ef0e424df
parent68f948425a7f0665fbbea3b35393f23eec256516 (diff)
downloadprosody-fececf2a21113023fd618d8a17ca21d1663fef11.tar.gz
prosody-fececf2a21113023fd618d8a17ca21d1663fef11.zip
xmppserver_listener: Fix typo (thanks Jorj)
-rw-r--r--net/xmppserver_listener.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua
index 0b887b87..939740be 100644
--- a/net/xmppserver_listener.lua
+++ b/net/xmppserver_listener.lua
@@ -99,7 +99,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();