Changeset

12721:7830db3c38c3

mod_saslauth: Fix incorrect variable name introduced in 27a4a7e64831
author Matthew Wild <mwild1@gmail.com>
date Sat, 03 Sep 2022 21:25:51 +0100
parents 12720:0a137436490f
children 12722:cd993fd7b60d
files plugins/mod_saslauth.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Sat Sep 03 21:20:29 2022 +0100
+++ b/plugins/mod_saslauth.lua	Sat Sep 03 21:25:51 2022 +0100
@@ -352,7 +352,7 @@
 				authmod, available_disabled);
 		end
 
-	elseif not session.full_jid then
+	elseif not origin.full_jid then
 		features:tag("bind", bind_attr):tag("required"):up():up();
 		features:tag("session", xmpp_session_attr):tag("optional"):up():up();
 	end