Rename dumpTable to dump and make it work with plain values

This commit is contained in:
2025-05-20 20:33:43 +02:00
parent d4fd72ec71
commit a13ad67359
22 changed files with 68 additions and 64 deletions

View File

@@ -10,7 +10,7 @@ function shared.Sniffer.Init()
local SmellStinky = function(stinky)
if Heimdall_Data.config.sniffer.debug then
print(string.format("%s: SmellStinky", ModuleName))
shared.dumpTable(Heimdall_Data.config.sniffer)
shared.dump(Heimdall_Data.config.sniffer)
end
if not Heimdall_Data.config.sniffer.enabled then return end
if Heimdall_Data.config.sniffer.stinky and not shared.IsStinky(stinky) then
@@ -36,7 +36,7 @@ function shared.Sniffer.Init()
}
if Heimdall_Data.config.sniffer.debug then
print(string.format("[%s] Queuing sniffer message", ModuleName))
shared.dumpTable(msg)
shared.dump(msg)
end
table.insert(shared.messenger.queue, msg)
end