From 815af34004ec70ce9a609876c81f324389a1b322 Mon Sep 17 00:00:00 2001 From: Timo Smit Date: Thu, 16 Mar 2017 22:35:17 +0100 Subject: [PATCH] Fixed private message logging --- luamods/wolfadmin/commands/client/pm.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luamods/wolfadmin/commands/client/pm.lua b/luamods/wolfadmin/commands/client/pm.lua index 83803ec..40b0640 100644 --- a/luamods/wolfadmin/commands/client/pm.lua +++ b/luamods/wolfadmin/commands/client/pm.lua @@ -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, "csay "..recipient.." \"^9reply: ^7r [^2message^7]\";") - end - logs.writeChat(clientId, "priv", cmdClient, ...) + logs.writeChat(clientId, "priv", recipient, ...) + end return true end