aboutsummaryrefslogtreecommitdiff
path: root/chatcommands.lua
diff options
context:
space:
mode:
authorBuckarooBanzay <BuckarooBanzay@users.noreply.github.com>2020-07-13 07:33:28 +0200
committerBuckarooBanzay <BuckarooBanzay@users.noreply.github.com>2020-07-13 07:33:28 +0200
commit7e3b9163899e5582fac76cb6c498b644a678dc75 (patch)
tree99810a257475f249cf5d7cd10e8dd8e5c319c522 /chatcommands.lua
parent1a97f257b70ace87316c287104b10dde6c5662af (diff)
downloadmesecons_debug-7e3b9163899e5582fac76cb6c498b644a678dc75.tar.gz
mesecons_debug-7e3b9163899e5582fac76cb6c498b644a678dc75.zip
fix luacheck issue with unused parameter
Diffstat (limited to 'chatcommands.lua')
-rw-r--r--chatcommands.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/chatcommands.lua b/chatcommands.lua
index ade90f0..c48348e 100644
--- a/chatcommands.lua
+++ b/chatcommands.lua
@@ -50,7 +50,7 @@ minetest.register_chatcommand("mesecons_disable", {
minetest.register_chatcommand("mesecons_whitelist_get", {
description = "shows the current mapblock whitelist",
privs = {mesecons_debug=true},
- func = function(name)
+ func = function()
local whitelist = "mesecons whitelist:\n"
local count = 0
for hash, _ in pairs(mesecons_debug.whitelist) do