From: Egor Date: Sat, 17 Aug 2024 21:21:29 +0000 (+0300) Subject: spam.lua: minor fix X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=a1a830e3b3247d81c54fd351cae6a345234f1c46;p=patchyircd.git spam.lua: minor fix --- 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)