comparison mod_audit/mod_audit.lua @ 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
comparison
equal deleted inserted replaced
5317:0091b7de2763 5318:c5ecfb06afde
92 }; 92 };
93 if user_key ~= host_wide_user then 93 if user_key ~= host_wide_user then
94 attr.user = user_key; 94 attr.user = user_key;
95 end 95 end
96 local stanza = st.stanza("audit-event", attr); 96 local stanza = st.stanza("audit-event", attr);
97 if extra ~= nil then 97 if extra then
98 if extra.session then 98 if extra.session then
99 local child = session_extra(extra.session); 99 local child = session_extra(extra.session);
100 if child then 100 if child then
101 stanza:add_child(child); 101 stanza:add_child(child);
102 end 102 end