aboutsummaryrefslogtreecommitdiff
path: root/chatcommands.lua
diff options
context:
space:
mode:
authorAlexander Ried <ried@mytum.de>2020-07-05 15:36:56 +0200
committerBuckaroo Banzai <39065740+BuckarooBanzay@users.noreply.github.com>2020-07-13 07:21:52 +0200
commit5f7cb859c58b9d72580230f59b380f64d7f9e096 (patch)
tree1be92d659dcef3881b444f79d0ec4e6432399547 /chatcommands.lua
parentb7319fa3861f32bdf352751a6dcab54f19d7a6b6 (diff)
downloadmesecons_debug-5f7cb859c58b9d72580230f59b380f64d7f9e096.tar.gz
mesecons_debug-5f7cb859c58b9d72580230f59b380f64d7f9e096.zip
fix whitelist_remove chat command
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 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"