diff options
Diffstat (limited to 'builtin/common/chatcommands.lua')
-rw-r--r-- | builtin/common/chatcommands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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." |