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:20:50 +05:00 committed by GitHub
parent 8a65f94b81
commit 932b471f36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ minetest.register_chatcommand("bdname_add", {
func = function(name,param)
if param ~= "" then
table.insert(disallowed_names,tostring(param))
minetest.chat_send_player(name, "added "..param.." to the list of banned words")
minetest.chat_send_player(name, "Added " .. param .. " to the list of banned words")
local serial_table = minetest.serialize(disallowed_names)
storage:set_string("disallowed_names", serial_table)
else