Update mods/other/disallowed_names/init.lua
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
c076f5fb4c
commit
5d82a2d813
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ minetest.register_chatcommand("bdname_remove",{
|
||||||
minetest.register_chatcommand("bdname_list", {
|
minetest.register_chatcommand("bdname_list", {
|
||||||
description = "Lists all the disallowed names.",
|
description = "Lists all the disallowed names.",
|
||||||
privs = {ban= true},
|
privs = {ban= true},
|
||||||
func= function(name)
|
func = function(name)
|
||||||
for k in pairs(disallowed_names) do
|
for k in pairs(disallowed_names) do
|
||||||
minetest.chat_send_player(name, disallowed_names[k])
|
minetest.chat_send_player(name, disallowed_names[k])
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue