Fix player kicking
This commit is contained in:
parent
c3e483abb6
commit
91aaff7965
@ -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(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user