Update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user