mod_saslauth: Fix incorrect variable name introduced in 27a4a7e64831

This commit is contained in:
Matthew Wild 2022-09-03 21:25:51 +01:00
parent 5f2c086da7
commit af0f1947cf

View file

@ -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