mirror of
https://github.com/Earu/EasyChat.git
synced 2025-03-04 03:13:20 -05:00
fix markup yet again [ci skip]
This commit is contained in:
parent
21cba2b397
commit
ea0c4208f9
@ -322,8 +322,9 @@ if CLIENT then
|
||||
|
||||
function EasyChat.FilterString(str)
|
||||
local original_str = str
|
||||
local base_str = ec_markup.GetText(str)
|
||||
|
||||
str = util.FilterText(ec_markup.GetText(str)) -- respect the Steam filter settings
|
||||
str = util.FilterText(base_str) -- respect the Steam filter settings
|
||||
|
||||
for _, blocked_str in ipairs(EasyChat.BlockedStrings) do
|
||||
local content = blocked_str.Content
|
||||
@ -336,7 +337,7 @@ if CLIENT then
|
||||
end)
|
||||
end
|
||||
|
||||
if original_str ~= str then
|
||||
if base_str ~= str then
|
||||
return str
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user