aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-09-03 21:25:51 +0100
committerMatthew Wild <mwild1@gmail.com>2022-09-03 21:25:51 +0100
commitaf0f1947cf22896d962b93ab93a83747414558d4 (patch)
treee160e6f1f8bace92f82eb09d5b1e8a103b8015de /plugins
parent5f2c086da7bd3db208dd79d64bdc1af38592fc16 (diff)
downloadprosody-af0f1947cf22896d962b93ab93a83747414558d4.tar.gz
prosody-af0f1947cf22896d962b93ab93a83747414558d4.zip
mod_saslauth: Fix incorrect variable name introduced in 27a4a7e64831
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
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