From a34c610938eb03f449bdb077e61414213e576ebc Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sat, 12 Dec 2020 14:06:41 +0100 Subject: Make GitHub Actions Happy try 2 --- builtin/common/chatcommands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin/common/chatcommands.lua') diff --git a/builtin/common/chatcommands.lua b/builtin/common/chatcommands.lua index bf989db7d..fb593e839 100644 --- a/builtin/common/chatcommands.lua +++ b/builtin/common/chatcommands.lua @@ -49,7 +49,7 @@ if INIT == "client" then local i = table.indexof(list, item) if i == -1 then return false, item .. " is not on the list." - else + else table.remove(list, i) core.settings:set(setting, table.concat(list, ",")) return true, "Removed " .. item .. " from the list." -- cgit v1.2.3