Proper kick reasons!
git-svn-id: http://mc-server.googlecode.com/svn/trunk@621 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
ada984facf
commit
4d6433ac30
@ -202,11 +202,14 @@ cClientHandle::~cClientHandle()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (m_Socket.IsValid())
|
if (m_Socket.IsValid())
|
||||||
|
{
|
||||||
|
if(!m_bKicking)
|
||||||
{
|
{
|
||||||
cPacket_Disconnect Disconnect;
|
cPacket_Disconnect Disconnect;
|
||||||
Disconnect.m_Reason = "Server shut down? Kthnxbai";
|
Disconnect.m_Reason = "Server shut down? Kthnxbai";
|
||||||
m_Socket.Send(&Disconnect);
|
m_Socket.Send(&Disconnect);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (m_Player != NULL)
|
if (m_Player != NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user