Fix player name not passed in chat_send_player call

master
ANAND 2019-07-13 07:21:24 +05:30
parent 769b278494
commit ef6e358de5
No known key found for this signature in database
GPG Key ID: 3AD8A3C4A51AAB97
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ handler = function(name, message)
end
if not minetest.check_player_privs(name, {shout = true}) then
minetest.chat_send_player("-!- You don't have permission to shout.")
minetest.chat_send_player(name, "-!- You don't have permission to shout.")
return true
end
local tcolor = ctf_colors.get_color(ctf.player(name))