mod_audit: Fix querying for both user and global events
Forgot to fix this before I pushed
--- a/mod_audit/mod_audit.lua Sat Dec 02 13:26:31 2023 +0100
+++ b/mod_audit/mod_audit.lua Sat Dec 02 13:35:29 2023 +0100
@@ -207,7 +207,7 @@
end
query_jid = "@";
elseif host == query_jid then
- query_jid = "@";
+ query_jid = nil;
end
local results, err = store:find(nil, {