Update mods/other/disallowed_names/init.lua

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
olliy 2021-01-31 13:23:31 +05:00 committed by GitHub
parent c076f5fb4c
commit 5d82a2d813
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ minetest.register_chatcommand("bdname_remove",{
minetest.register_chatcommand("bdname_list", {
description = "Lists all the disallowed names.",
privs = {ban= true},
func= function(name)
func = function(name)
for k in pairs(disallowed_names) do
minetest.chat_send_player(name, disallowed_names[k])
end