fix: Adds text command to throttle. Fixes throttle itself. (#1743)
This commit is contained in:
parent
bb7bc57e42
commit
c4fbc6b88e
2 changed files with 8 additions and 16 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue