Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
1952:4a15b176fca8 | 1954:4ef18b2dcc21 |
---|---|
97 session.sends2s(reason); | 97 session.sends2s(reason); |
98 end | 98 end |
99 end | 99 end |
100 end | 100 end |
101 session.sends2s("</stream:stream>"); | 101 session.sends2s("</stream:stream>"); |
102 if sesson.notopen or not session.conn.close() then | 102 if session.notopen or not session.conn.close() then |
103 session.conn.close(true); -- Force FIXME: timer? | 103 session.conn.close(true); -- Force FIXME: timer? |
104 end | 104 end |
105 session.conn.close(); | 105 session.conn.close(); |
106 xmppserver.disconnect(session.conn, "stream error"); | 106 xmppserver.disconnect(session.conn, "stream error"); |
107 end | 107 end |