Don't apply message prefixes to messages with empty name
This commit is contained in:
parent
07b4b785fc
commit
b8228ac6eb
|
@ -978,7 +978,7 @@ function navigateMessageHistory(step)
|
||||||
end
|
end
|
||||||
|
|
||||||
function applyMessagePrefixies(name, level, message)
|
function applyMessagePrefixies(name, level, message)
|
||||||
if name then
|
if name and #name > 0 then
|
||||||
if modules.client_options.getOption('showLevelsInConsole') and level > 0 then
|
if modules.client_options.getOption('showLevelsInConsole') and level > 0 then
|
||||||
message = name .. ' [' .. level .. ']: ' .. message
|
message = name .. ' [' .. level .. ']: ' .. message
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue