Skip to content

Commit

Permalink
nice catch @Cekis
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthArgus committed Jan 9, 2017
1 parent fcbbfdf commit 39d77b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions engine/server/library/serverGame/src/shared/core/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -956,14 +956,14 @@ void Client::receiveClientMessage(const GameNetworkMessage &message) {
KickPlayer const kickMessage(m_characterObjectId, "Hack Attempt");
GameServer::getInstance().sendToConnectionServers(kickMessage);
GameServer::getInstance().dropClient(m_characterObjectId);

delete o.getData();
return;
}

if (!appended) {
delete o.getData();
}

break;
}

//-----------------------------------------------------------------
//Secure Trade Messages
//-----------------------------------------------------------------
Expand Down

0 comments on commit 39d77b6

Please sign in to comment.