Remove reformatting

This commit is contained in:
stratic-dev
2024-03-20 19:44:54 +00:00
parent 7d7fd50ba8
commit 4d134d0624

View File

@@ -133,8 +133,7 @@ func (s *Session) handleWIIUSGN(bf *byteframe.ByteFrame) {
func (s *Session) handlePSSGN(bf *byteframe.ByteFrame) {
// Prevent reading malformed request
if s.client != PS4 {
dataLength := len(bf.DataFromCurrent()) //PS4 is 24
if dataLength < 128 {
if len(bf.DataFromCurrent()) < 128 {
s.sendCode(SIGN_EABORT)
return
}