From d786e65a9a262638e74f6ebcf1b296917897ae49 Mon Sep 17 00:00:00 2001 From: boris Date: Sun, 30 Dec 2018 15:00:51 +1300 Subject: unban marcus or suffer my wrath grr --- csgo-loader/csgo-server/Server.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'csgo-loader/csgo-server/Server.cpp') diff --git a/csgo-loader/csgo-server/Server.cpp b/csgo-loader/csgo-server/Server.cpp index c475542..2f3f913 100644 --- a/csgo-loader/csgo-server/Server.cpp +++ b/csgo-loader/csgo-server/Server.cpp @@ -1,14 +1,8 @@ #include -void ConnectionHandler(Networking::TCPConnection &Connection) +void ConnectionHandler(Networking::TCPConnection &) { - ByteArray Bytes = Connection.ReceiveBytes(); - for(auto &It : Bytes) - printf("%02x ", It); - printf("\n"); - - Connection.SendBytes(Bytes); } int __stdcall WinMain(HINSTANCE, HINSTANCE, char*, int) @@ -33,7 +27,7 @@ int __stdcall WinMain(HINSTANCE, HINSTANCE, char*, int) } if(!Result) - printf("[FAIL] Failed to initialise server. (%08lx)\n", WSAGetLastError()); + printf("[ !! ] Failed to initialise server. (%08lx)\n", WSAGetLastError()); system("pause"); } \ No newline at end of file -- cgit v1.2.3