Fixed private message logging

This commit is contained in:
Timo Smit 2017-03-16 22:35:17 +01:00
parent fe30fe8d87
commit 815af34004

View file

@ -85,9 +85,9 @@ function commandPersonalMessage(clientId, command, target, ...)
et.trap_SendConsoleCommand(et.EXEC_APPEND, "ccp "..recipient.." \"^3private message from "..et.gentity_get(clientId, "pers.netname").."\";") et.trap_SendConsoleCommand(et.EXEC_APPEND, "ccp "..recipient.." \"^3private message from "..et.gentity_get(clientId, "pers.netname").."\";")
et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..recipient.." \"^9reply: ^7r [^2message^7]\";") et.trap_SendConsoleCommand(et.EXEC_APPEND, "csay "..recipient.." \"^9reply: ^7r [^2message^7]\";")
end
logs.writeChat(clientId, "priv", cmdClient, ...) logs.writeChat(clientId, "priv", recipient, ...)
end
return true return true
end end