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
@ -203,9 +203,12 @@ cClientHandle::~cClientHandle()
|
||||
|
||||
if (m_Socket.IsValid())
|
||||
{
|
||||
cPacket_Disconnect Disconnect;
|
||||
Disconnect.m_Reason = "Server shut down? Kthnxbai";
|
||||
m_Socket.Send(&Disconnect);
|
||||
if(!m_bKicking)
|
||||
{
|
||||
cPacket_Disconnect Disconnect;
|
||||
Disconnect.m_Reason = "Server shut down? Kthnxbai";
|
||||
m_Socket.Send(&Disconnect);
|
||||
}
|
||||
}
|
||||
|
||||
if (m_Player != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user