This commit is contained in:
2025-05-05 00:02:38 +02:00
parent f897183920
commit a1301abdb2
8 changed files with 49 additions and 50 deletions

View File

@@ -1,6 +1,5 @@
local addonname, shared = ...
local shared = ...
---@cast shared HeimdallShared
---@cast addonname string
local ModuleName = "Sniffer"
---@diagnostic disable-next-line: missing-fields
@@ -55,7 +54,8 @@ function shared.Sniffer.Init()
end
return
end
local source, err = CLEUParser.GetSourceName(...)
local source, destination, err
source, err = CLEUParser.GetSourceName(...)
if Heimdall_Data.config.sniffer.debug then
print(string.format("[%s] Processing source: %s", ModuleName, source))
end
@@ -66,7 +66,7 @@ function shared.Sniffer.Init()
return
end
SmellStinky(source)
local destination, err = CLEUParser.GetDestName(...)
destination, err = CLEUParser.GetDestName(...)
if Heimdall_Data.config.sniffer.debug then
print(string.format("[%s] Processing destination: %s", ModuleName, destination))
end