Diff

plugins/mod_saslauth.lua @ 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
parent 3240:9782a222e941
child 3363:a4bb658d3fcb
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