mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
Fix player kicking
This commit is contained in:
parent
f5c4c27fac
commit
bc8dd12002
1 changed files with 1 additions and 1 deletions
|
|
@ -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(); }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue