Fix player kicking

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

View file

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