mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-20 02:24:45 +00:00
catching reset sequence so that we can output details about how the packet looks; for live logging
This commit is contained in:
parent
873f19db5e
commit
5c169e1ca7
|
|
@ -176,6 +176,8 @@ object PacketCoding {
|
|||
if (flags.secured && crypto.isEmpty) {
|
||||
return Failure(Err("Unsupported packet type: crypto packets must be unencrypted"))
|
||||
}
|
||||
case PacketType.ResetSequence =>
|
||||
return Failure(Err(s"Caught a wild ResetSequence when cryptoState is ${crypto.nonEmpty}: $msg -> $flags and $remainder"))
|
||||
case _ =>
|
||||
return Failure(Err(s"Unsupported packet type: ${flags.packetType.toString}"))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue