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