Fix player kicking

This commit is contained in:
Laizerox 2017-01-23 22:52:08 +00:00 committed by Antz
parent c3e483abb6
commit 91aaff7965

View File

@ -597,7 +597,7 @@ void WorldSession::LogoutPlayer(bool Save)
/// Kick a player out of the World /// Kick a player out of the World
void WorldSession::KickPlayer() void WorldSession::KickPlayer()
{ {
if (m_Socket) if (!m_Socket)
{ m_Socket->CloseSocket(); } { m_Socket->CloseSocket(); }
} }