Refactor AgentTracker and related modules to improve agent management and logging
This commit is contained in:
@@ -22,7 +22,7 @@ function shared.Dueler.Init()
|
||||
print(string.format("[%s] Checking if sender '%s' is in agents list", ModuleName, sender))
|
||||
end
|
||||
|
||||
local allow = Heimdall_Data.config.agents[sender]
|
||||
local allow = shared.AgentTracker.IsAgent(sender)
|
||||
if allow then
|
||||
if Heimdall_Data.config.dueler.debug then
|
||||
print(string.format("[%s] Accepting duel from trusted agent: %s", ModuleName, sender))
|
||||
|
||||
Reference in New Issue
Block a user