aboutsummaryrefslogtreecommitdiff
path: root/chatcommands.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--chatcommands.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/chatcommands.lua b/chatcommands.lua
index 077a85d..2b4a1cc 100644
--- a/chatcommands.lua
+++ b/chatcommands.lua
@@ -80,7 +80,7 @@ minetest.register_chatcommand("mesecons_whitelist_remove", {
local blockpos = mesecons_debug.get_blockpos(ppos)
local hash = minetest.hash_node_position(blockpos)
- mesecons_debug.whitelist[hash] = true
+ mesecons_debug.whitelist[hash] = nil
mesecons_debug.save_whitelist()
return true, "mapblock removed from whitelist"