Fix naming in minimaptagger
This commit is contained in:
@@ -360,11 +360,15 @@ function shared.MinimapTagger.Init()
|
||||
|
||||
local channelId = select(6, ...)
|
||||
local _, channelname = GetChannelName(channelId)
|
||||
-- if Heimdall_Data.config.echoer.debug then
|
||||
-- print(string.format("[%s] Processing message from channel: %s", ModuleName, channelname))
|
||||
-- end
|
||||
local ok = false
|
||||
for _, channel in pairs(Heimdall_Data.config.minimapTagger.channels) do
|
||||
if channelname == channel then
|
||||
ok = true
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
if channelname ~= Heimdall_Data.config.minimapTagger.masterChannel then
|
||||
if not ok then
|
||||
if Heimdall_Data.config.minimapTagger.debug then
|
||||
print(string.format("[%s] Ignoring message from non-master channel: %s, need %s", ModuleName, channelname,
|
||||
Heimdall_Data.config.minimapTagger.masterChannel))
|
||||
|
||||
Reference in New Issue
Block a user