From 3144db40a14b95bf0ae8b35c46be1a3d040b7bef Mon Sep 17 00:00:00 2001 From: Egor Date: Thu, 12 Feb 2026 17:29:32 +0200 Subject: [PATCH] lua: fix spamlevel global decl --- lua/spam.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.56.0