--- a/plugins/mod_saslauth.lua Wed Oct 22 17:27:40 2008 +0100 +++ b/plugins/mod_saslauth.lua Wed Oct 22 17:36:21 2008 +0100 @@ -36,8 +36,7 @@ return; end session.sasl_handler = nil; - session.connhandler = new_connhandler("xmpp-client", session); - session.notopen = true; + session:reset_stream(); end, function (reason) -- onFail