# HG changeset patch # User Matthew Wild # Date 1680865231 -3600 # Node ID c5ecfb06afde98d91e6132cd848b1657c8955a50 # Parent 0091b7de276392dc2007094d8f8bdb807f8fb198 mod_audit: Minor style nit diff -r 0091b7de2763 -r c5ecfb06afde mod_audit/mod_audit.lua --- 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