aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-07-12 16:44:56 +0100
committerMatthew Wild <mwild1@gmail.com>2010-07-12 16:44:56 +0100
commit0dbf22f2ba15f471061d1be7fea65197eea4eccc (patch)
treecb3e8c58970adc06c62303e1e6a6efee13886343 /plugins
parent8293d237d5f9701841525fe09e4e76aa0a1ada25 (diff)
downloadprosody-0dbf22f2ba15f471061d1be7fea65197eea4eccc.tar.gz
prosody-0dbf22f2ba15f471061d1be7fea65197eea4eccc.zip
mod_saslauth: Rename variable 'aret' to 'ok' as per convention
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_saslauth.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index acfb57f6..77040448 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -97,8 +97,8 @@ local function handle_status(session, status, ret, err_msg)
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