[Server] Update log message related to server password

This commit is contained in:
David Cernat 2019-11-09 08:46:56 +02:00
parent 20d1e7654c
commit 383d6ecea6

View File

@ -118,7 +118,7 @@ void Networking::processSystemPacket(RakNet::Packet *packet)
if (isPassworded()) if (isPassworded())
{ {
LOG_MESSAGE_SIMPLE(TimedLog::LOG_WARN, "Wrong server password %s used by client at %s", LOG_MESSAGE_SIMPLE(TimedLog::LOG_WARN, "Wrong server password %s used by client at %s",
player->serverPassword.c_str(), packet->systemAddress.ToString()); baseSystem.serverPassword.c_str(), packet->systemAddress.ToString());
kickPlayer(player->guid); kickPlayer(player->guid);
return; return;
} }