Diff

plugins/mod_saslauth.lua @ 2251:18079ede5b62

mod_saslauth: Fix typo in variable name
author Matthew Wild <mwild1@gmail.com>
date Sat, 28 Nov 2009 15:12:07 +0000
parent 2242:ee6ac55a72d6
child 2388:4768879d3591
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Sat Nov 28 14:09:53 2009 +0000
+++ b/plugins/mod_saslauth.lua	Sat Nov 28 15:12:07 2009 +0000
@@ -75,7 +75,7 @@
 
 local function handle_status(session, status)
 	if status == "failure" then
-		session.sasl_handler = sesion.sasl_handler:clean_clone();
+		session.sasl_handler = session.sasl_handler:clean_clone();
 	elseif status == "success" then
 		local username = nodeprep(session.sasl_handler.username);
 		if not username then -- TODO move this to sessionmanager