Refactor stinky detection to heimdall

This commit is contained in:
2025-01-15 20:58:00 +01:00
parent 4511ecbf0a
commit ba889e442c
4 changed files with 9 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ function shared.Sniffer.Init()
end
if not Heimdall_Data.config.sniffer.enabled then return end
if Heimdall_Data.config.sniffer.stinky and
not Heimdall_Data.config.stinkies[stinky] then
not shared.IsStinky(stinky) then
if Heimdall_Data.config.sniffer.debug then
print(string.format("%s: Stinky not found in config", ModuleName))
end