changeset 5318:c5ecfb06afde

mod_audit: Minor style nit
author Matthew Wild <mwild1@gmail.com>
date Fri, 07 Apr 2023 12:00:31 +0100
parents 0091b7de2763
children 5043108b14f4
files mod_audit/mod_audit.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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