fix: Adds text command to throttle. Fixes throttle itself. (#1743)

This commit is contained in:
Kamron Batman 2024-04-26 17:54:33 -07:00 committed by GitHub
parent bb7bc57e42
commit c4fbc6b88e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 16 deletions

View file

@ -845,7 +845,7 @@ public partial class NetState : IComparable<NetState>, IValueLinkListNode<NetSta
{
if (!throttler(packetId, this, out bool drop))
{
return drop ? ParserState.AwaitingNextPacket : ParserState.Throttled;
return drop ? ParserState.Throttled : ParserState.AwaitingNextPacket;
}
SetPacketTime(packetId);