From 190955fa4841fc7ef1ce75481927d7d6e22dee61 Mon Sep 17 00:00:00 2001 From: BenCat07 Date: Fri, 4 May 2018 15:57:32 +0200 Subject: [PATCH] Ipc id added to csv --- src/chatlog.cpp | 3 +-- src/hacks/AutoJoin.cpp | 12 ++++++------ src/hooks/CreateMove.cpp | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/chatlog.cpp b/src/chatlog.cpp index fb356b4f..26ebb3ff 100644 --- a/src/chatlog.cpp +++ b/src/chatlog.cpp @@ -133,8 +133,7 @@ void LogMessage(int eid, std::string message) if (x == '\n' || x == '\r') x = '*'; } - logger() << std::to_string(time(nullptr)) << std::to_string(info.friendsID) - << name << message << csv_stream::end; + << name << message << std::to_string(ipc::peer->client_id) <ServerCmd("use", false); } else { - NET_StringCmd senddata("voicemenu 0 0"); + NET_StringCmd senddata("use"); INetChannel *ch2 = (INetChannel *) g_IEngine->GetNetChannelInfo(); senddata.SetNetChannel(ch2); senddata.SetReliable(false);