# HG changeset patch # User Matthew Wild # Date 1223130292 -3600 # Node ID 93e468eb2ffb5278c2241a4787be6c468274af88 # Parent 56272224ca4c4825b892becec385abd72ad1364a Fix for destruction of unauthed SASL sessions diff -r 56272224ca4c -r 93e468eb2ffb plugins/mod_saslauth.lua --- a/plugins/mod_saslauth.lua Sat Oct 04 14:36:03 2008 +0100 +++ b/plugins/mod_saslauth.lua Sat Oct 04 15:24:52 2008 +0100 @@ -33,6 +33,7 @@ local success, err = sessionmanager.make_authenticated(session, username); if not success then sessionmanager.destroy_session(session); + return; end session.sasl_handler = nil; session.connhandler = new_connhandler("xmpp-client", session);