Skip to content

Commit db734b2

Browse files
committed
Removing usless svPlayer.Send
1 parent 658918c commit db734b2

File tree

1 file changed

+0
-5
lines changed
  • src/BPEssentials/Commands/Moderation

1 file changed

+0
-5
lines changed

src/BPEssentials/Commands/Moderation/Unban.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ public void Invoke(ShPlayer player, string targetAccount)
1717
return;
1818
}
1919
Core.Instance.SvManager.database.Bans.Delete(target.IP);
20-
player.svPlayer.Send(SvSendType.Self, Channel.Reliable, SvPacket.UnbanIP, new object[]
21-
{
22-
target.IP,
23-
false
24-
});
2520
player.TS("unbanned", targetAccount.CleanerMessage());
2621
}
2722
}

0 commit comments

Comments
 (0)