From af0f1947cf22896d962b93ab93a83747414558d4 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 3 Sep 2022 21:25:51 +0100 Subject: mod_saslauth: Fix incorrect variable name introduced in 27a4a7e64831 --- plugins/mod_saslauth.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_saslauth.lua') diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index 2552a253..ddef3f17 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -352,7 +352,7 @@ module:hook("stream-features", function(event) 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 -- cgit v1.2.3