mirror of
https://github.com/edubart/otclient.git
synced 2025-05-03 11:09:20 +02:00
Merge pull request #1005 from diath/message_prefixes
Don't apply message prefixes to messages with empty name
This commit is contained in:
commit
a6c7269f78
@ -978,7 +978,7 @@ function navigateMessageHistory(step)
|
||||
end
|
||||
|
||||
function applyMessagePrefixies(name, level, message)
|
||||
if name then
|
||||
if name and #name > 0 then
|
||||
if modules.client_options.getOption('showLevelsInConsole') and level > 0 then
|
||||
message = name .. ' [' .. level .. ']: ' .. message
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user