Only print to essence for lawless
This commit is contained in:
@@ -229,6 +229,7 @@ function shared.Whoer.Init()
|
||||
message = player:NotifyRu()
|
||||
}
|
||||
if Heimdall_Data.config.essencex.who and Heimdall_Data.config.essencex.enabled then
|
||||
if player.guild == "БеспредеЛ" then
|
||||
if Heimdall_Data.config.who.debug then
|
||||
print(string.format("[%s] Sending Russian message to %s", ModuleName,
|
||||
Heimdall_Data.config.essencex.masterChannel))
|
||||
@@ -236,6 +237,7 @@ function shared.Whoer.Init()
|
||||
ruMsg.data = Heimdall_Data.config.essencex.masterChannel
|
||||
table.insert(shared.messenger.queue, ruMsg)
|
||||
end
|
||||
end
|
||||
--table.insert(shared.messenger.queue, ruMsg)
|
||||
table.insert(shared.networkMessenger.queue, ruMsg)
|
||||
end
|
||||
@@ -286,9 +288,11 @@ function shared.Whoer.Init()
|
||||
--table.insert(shared.messenger.queue, msg)
|
||||
table.insert(shared.networkMessenger.queue, msg)
|
||||
if Heimdall_Data.config.essencex.who and Heimdall_Data.config.essencex.enabled then
|
||||
if player.guild == "БеспредеЛ" then
|
||||
msg.data = Heimdall_Data.config.essencex.masterChannel
|
||||
table.insert(shared.messenger.queue, msg)
|
||||
end
|
||||
end
|
||||
|
||||
if Heimdall_Data.config.who.doWhisper then
|
||||
for _, name in pairs(Heimdall_Data.config.whisperNotify) do
|
||||
@@ -345,10 +349,10 @@ function shared.Whoer.Init()
|
||||
--table.insert(shared.messenger.queue, msg)
|
||||
table.insert(shared.networkMessenger.queue, msg)
|
||||
if Heimdall_Data.config.essencex.who and Heimdall_Data.config.essencex.enabled then
|
||||
--if player.guild == "БеспредеЛ" then
|
||||
if player.guild == "БеспредеЛ" then
|
||||
msg.data = Heimdall_Data.config.essencex.masterChannel
|
||||
table.insert(shared.messenger.queue, msg)
|
||||
--end
|
||||
end
|
||||
end
|
||||
|
||||
if Heimdall_Data.config.who.doWhisper then
|
||||
|
||||
Reference in New Issue
Block a user