From a1a830e3b3247d81c54fd351cae6a345234f1c46 Mon Sep 17 00:00:00 2001 From: Egor Date: Sun, 18 Aug 2024 00:21:29 +0300 Subject: [PATCH] spam.lua: minor fix --- lua/spam.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/spam.lua b/lua/spam.lua index 5947cca..9bb0784 100644 --- a/lua/spam.lua +++ b/lua/spam.lua @@ -24,7 +24,7 @@ function setspamlevel(newlevel) end txt = ascii(txt) if not chan.v[cl1.key] and not chan.o[cl1.key] and - (txt:find("hardchats.com", 1, true) or txt:find("HARDCHATS", 1, true)) then + (txt:find("hardchats.com", 1, true) or txt:find("HARDCHAT", 1, true)) then return -1 end end) -- 2.56.0