Remove errorstream logging on password change

This seems to be a debug message which has been forgotten to be removed.
This commit is contained in:
est31 2015-04-03 13:55:55 +02:00
parent 470de10de3
commit 1cb404522f

@ -1223,7 +1223,6 @@ void Server::handleCommand_Breath(NetworkPacket* pkt)
void Server::handleCommand_Password(NetworkPacket* pkt) void Server::handleCommand_Password(NetworkPacket* pkt)
{ {
errorstream << "PAssword packet size: " << pkt->getSize() << " size required: " << PASSWORD_SIZE * 2 << std::endl;
if ((pkt->getCommand() == TOSERVER_PASSWORD && pkt->getSize() < 4) || if ((pkt->getCommand() == TOSERVER_PASSWORD && pkt->getSize() < 4) ||
pkt->getSize() != PASSWORD_SIZE * 2) pkt->getSize() != PASSWORD_SIZE * 2)
return; return;