Update mods/other/disallowed_names/init.lua
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
5d82a2d813
commit
9c8de618a2
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ minetest.register_chatcommand("bdname_remove",{
|
||||||
-- List of disallowed names
|
-- List of disallowed names
|
||||||
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])
|
||||||
|
|
Loading…
Reference in a new issue