fix - change ":" by "." in utf8 lower

This commit is contained in:
Aleksandr Avdeev 2024-11-12 10:35:55 +03:00
parent f9492100a4
commit 3dd2c91bdc

View File

@ -66,7 +66,7 @@ end
function filter.check_message(name, message)
for _, w in ipairs(words) do
if utf8.find(utf8:lower(message), "%f[%a]" .. w .. "%f[%A]") then
if utf8.find(utf8.lower(message), "%f[%a]" .. w .. "%f[%A]") then
return false
end
end