Avoid prepending "Server -!- " to messages sent using the command block.

This commit is contained in:
Anthony Zhang 2013-04-27 16:51:00 -04:00
parent 1a5b1b4691
commit d4f18d08c0

@ -19,7 +19,7 @@ minetest.register_chatcommand("tell", {
if not minetest.env:get_player_by_name(target) then
minetest.chat_send_player(name, "Invalid target: " .. target)
end
minetest.chat_send_player(target, name .. " whispers: " .. message)
minetest.chat_send_player(target, name .. " whispers: " .. message, false)
end
})
@ -27,7 +27,7 @@ minetest.register_chatcommand("tellme", {
params = "<text>",
description = "Say <text> to yourself",
func = function(name, param)
minetest.chat_send_player(name, param)
minetest.chat_send_player(name, param, false)
end
})