From 3dd2c91bdcc6a80c9d14a759e29d77ab8d0c4fbb Mon Sep 17 00:00:00 2001 From: Aleksandr Avdeev Date: Tue, 12 Nov 2024 10:35:55 +0300 Subject: [PATCH] fix - change ":" by "." in utf8 lower --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index c2fde66..b54f72a 100755 --- a/init.lua +++ b/init.lua @@ -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