diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-18 14:42:45 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-18 14:42:45 +0000 |
commit | f4e09200420e410c608ef9b841a0669b5c0d88a9 (patch) | |
tree | 020b96ec7b606dcdf4235bfcc3f5692f2ea0baea /net/xmppclient_listener.lua | |
parent | f21f55bb1e757f27cf9d2263469eb9ae6c63b91e (diff) | |
download | prosody-f4e09200420e410c608ef9b841a0669b5c0d88a9.tar.gz prosody-f4e09200420e410c608ef9b841a0669b5c0d88a9.zip |
s2s sessions can now be disconnected, with or without a stream error. Fixes #8
Diffstat (limited to 'net/xmppclient_listener.lua')
-rw-r--r-- | net/xmppclient_listener.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/xmppclient_listener.lua b/net/xmppclient_listener.lua index 1f6691da..85430308 100644 --- a/net/xmppclient_listener.lua +++ b/net/xmppclient_listener.lua @@ -98,9 +98,6 @@ function xmppclient.listener(conn, data) -- Debug version -- local function handleerr(err) print("Traceback:", err, debug.traceback()); end session.stanza_dispatch = function (stanza) return select(2, xpcall(function () return core_process_stanza(session, stanza); end, handleerr)); end - --- session.stanza_dispatch = function (stanza) return core_process_stanza(session, stanza); end - end if data then session.data(conn, data); |