From: Egor Date: Thu, 12 Feb 2026 15:29:32 +0000 (+0200) Subject: lua: fix spamlevel global decl X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=3144db40a14b95bf0ae8b35c46be1a3d040b7bef;p=patchyircd.git lua: fix spamlevel global decl --- diff --git a/lua/spam.lua b/lua/spam.lua index 5877341..e52f500 100644 --- a/lua/spam.lua +++ b/lua/spam.lua @@ -1,7 +1,7 @@ -- Copyright (c) 2024-2025 Egor -- SPDX-License-Identifier: GPL-2.0-or-later -- spam filtering -global_once(spamlevel, 0) +global_once("spamlevel", 0) local function ascii(txt) txt = txt:gsub("[^ -~]", ""):lower() return txt