mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
suspend/ban kick fix
This commit is contained in:
+2
-2
@@ -6364,7 +6364,7 @@ void command_ban(Client *c, const Seperator *sep)
|
|||||||
client = entity_list.GetClientByName(sep->arg[1]);
|
client = entity_list.GetClientByName(sep->arg[1]);
|
||||||
if(client)
|
if(client)
|
||||||
{
|
{
|
||||||
client->Kick();
|
client->WorldKick();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -6426,7 +6426,7 @@ void command_suspend(Client *c, const Seperator *sep)
|
|||||||
Client *BannedClient = entity_list.GetClientByName(sep->arg[1]);
|
Client *BannedClient = entity_list.GetClientByName(sep->arg[1]);
|
||||||
|
|
||||||
if(BannedClient)
|
if(BannedClient)
|
||||||
BannedClient->Kick();
|
BannedClient->WorldKick();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ServerPacket* pack = new ServerPacket(ServerOP_KickPlayer, sizeof(ServerKickPlayer_Struct));
|
ServerPacket* pack = new ServerPacket(ServerOP_KickPlayer, sizeof(ServerKickPlayer_Struct));
|
||||||
|
|||||||
Reference in New Issue
Block a user