if cl1.umode & 10 ~= 0 or chan.v[cl1.key] or chan.o[cl1.key] then
return 0
end
- txt = ascii(txt)
+ atxt = ascii(txt)
for k, _ in pairs(simple_filters) do
- if txt:find(k, 1, true) then
+ if txt:find(k, 1, true) or atxt:find(k, 1, true) then
return -1
end
end
if cl1.umode & 10 ~= 0 then
return 0
end
- txt = ascii(txt)
+ atxt = ascii(txt)
for k, _ in pairs(simple_filters) do
- if txt:find(k, 1, true) then
+ if txt:find(k, 1, true) or atxt:find(k, 1, true) then
return -1
end
end