author | Matthew Wild <mwild1@gmail.com> |
Fri, 07 Apr 2023 12:00:31 +0100 | |
changeset 5322 | c5ecfb06afde |
parent 5321 | 0091b7de2763 |
child 5323 | 5043108b14f4 |
--- a/mod_audit/mod_audit.lua Fri Apr 07 12:00:06 2023 +0100 +++ b/mod_audit/mod_audit.lua Fri Apr 07 12:00:31 2023 +0100 @@ -94,7 +94,7 @@ attr.user = user_key; end local stanza = st.stanza("audit-event", attr); - if extra ~= nil then + if extra then if extra.session then local child = session_extra(extra.session); if child then