Update mods/other/disallowed_names/init.lua
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
932b471f36
commit
03d05ea77f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ end)
|
||||||
minetest.register_chatcommand("bdname_add", {
|
minetest.register_chatcommand("bdname_add", {
|
||||||
params = "<string>",
|
params = "<string>",
|
||||||
privs = {ban = true},
|
privs = {ban = true},
|
||||||
description = "adds a name to disallowed names",
|
description = "Adds a name to the disallowed names list.",
|
||||||
func = function(name,param)
|
func = function(name,param)
|
||||||
if param ~= "" then
|
if param ~= "" then
|
||||||
table.insert(disallowed_names,tostring(param))
|
table.insert(disallowed_names,tostring(param))
|
||||||
|
|
Loading…
Reference in a new issue