Differentiate new connection messages on the login and shard ports

This commit is contained in:
2023-03-11 21:54:56 +01:00
parent abcfa3445b
commit a92cfaff25
4 changed files with 4 additions and 1 deletions

View File

@@ -11,6 +11,7 @@
std::map<CNSocket*, CNLoginData> CNLoginServer::loginSessions;
CNLoginServer::CNLoginServer(uint16_t p) {
serverType = "login";
port = p;
pHandler = &CNLoginServer::handlePacket;
init();