Merge pull request #92 from clucksoft/master

suspend/ban kick fix
This commit is contained in:
Alex 2013-11-20 02:36:27 -08:00
commit 093af6af0b

View File

@ -6364,7 +6364,7 @@ void command_ban(Client *c, const Seperator *sep)
client = entity_list.GetClientByName(sep->arg[1]);
if(client)
{
client->Kick();
client->WorldKick();
}
else
{
@ -6426,7 +6426,7 @@ void command_suspend(Client *c, const Seperator *sep)
Client *BannedClient = entity_list.GetClientByName(sep->arg[1]);
if(BannedClient)
BannedClient->Kick();
BannedClient->WorldKick();
else
{
ServerPacket* pack = new ServerPacket(ServerOP_KickPlayer, sizeof(ServerKickPlayer_Struct));