Fixed PM being visible in-chat

This commit is contained in:
Timo Smit 2017-01-29 13:00:32 +01:00
parent d58a228ed2
commit f7f3a5c724

View file

@ -85,6 +85,8 @@ function commandPersonalMessage(clientId, command, recipient, ...)
end end
logs.writeChat(clientId, "priv", cmdClient, ...) logs.writeChat(clientId, "priv", cmdClient, ...)
return true
end end
commands.addclient("pm", commandPersonalMessage, "", "", true, (settings.get("fs_game") == "legacy")) commands.addclient("pm", commandPersonalMessage, "", "", true, (settings.get("fs_game") == "legacy"))
commands.addclient("m", commandPersonalMessage, "", "", true, (settings.get("fs_game") == "legacy")) commands.addclient("m", commandPersonalMessage, "", "", true, (settings.get("fs_game") == "legacy"))