summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-server/Server.cpp
diff options
context:
space:
mode:
authorboris <wzn@moneybot.cc>2018-12-30 15:00:51 +1300
committerboris <wzn@moneybot.cc>2018-12-30 15:00:51 +1300
commitd786e65a9a262638e74f6ebcf1b296917897ae49 (patch)
tree17199ab95db8a59abf4d3bf40543296d76e8659e /csgo-loader/csgo-server/Server.cpp
parent0340821cc614fda2a94a96c255d16105dd2f6f9a (diff)
unban marcus or suffer my wrath
grr
Diffstat (limited to 'csgo-loader/csgo-server/Server.cpp')
-rw-r--r--csgo-loader/csgo-server/Server.cpp10
1 files changed, 2 insertions, 8 deletions
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 <Server.hpp>
-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