Skip to content

Commit

Permalink
unregister builtin ban command
Browse files Browse the repository at this point in the history
  • Loading branch information
naturefreshmilk committed Jan 24, 2020
1 parent dad5317 commit 9c3a0de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hacks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ minetest.find_path = function()
return nil
end

-- unregister ip-ban command (use xban instead)
-- there are still problems with the ipv6 range comming in from a single ipv4 ip
minetest.unregister_chatcommand("ban")

-- stolen from
-- https://github.com/minetest/minetest_game/blob/d2e051f1795576213f807ec0feac5f72f51c6113/mods/default/nodes.lua
-- fixes https://github.com/pandorabox-io/pandorabox.io/issues/358
Expand Down

0 comments on commit 9c3a0de

Please sign in to comment.