Changeset

3350:f0e312c9da01

mod_saslauth: Rename variable 'aret' to 'ok' as per convention
author Matthew Wild <mwild1@gmail.com>
date Mon, 12 Jul 2010 16:44:56 +0100
parents 3349:a416d714a905
children 3351:9d38d2bef187
files plugins/mod_saslauth.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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