# HG changeset patch # User Matthew Wild # Date 1278949496 -3600 # Node ID f0e312c9da01f8a20ddcb3b7dcbe71685f57d86e # Parent a416d714a905d0381b41a51a90c7aa44231a760b mod_saslauth: Rename variable 'aret' to 'ok' as per convention diff -r a416d714a905 -r f0e312c9da01 plugins/mod_saslauth.lua --- a/plugins/mod_saslauth.lua Mon Jul 12 00:14:48 2010 +0500 +++ b/plugins/mod_saslauth.lua Mon Jul 12 16:44:56 2010 +0100 @@ -97,8 +97,8 @@ local username = nodeprep(session.sasl_handler.username); if not(require_provisioning) or usermanager_user_exists(username, session.host) then - local aret, err = sm_make_authenticated(session, session.sasl_handler.username); - if aret then + local ok, err = sm_make_authenticated(session, session.sasl_handler.username); + if ok then session.sasl_handler = nil; session:reset_stream(); else