mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-02-06 01:57:38 +01:00
Remove reformatting
This commit is contained in:
@@ -133,8 +133,7 @@ func (s *Session) handleWIIUSGN(bf *byteframe.ByteFrame) {
|
|||||||
func (s *Session) handlePSSGN(bf *byteframe.ByteFrame) {
|
func (s *Session) handlePSSGN(bf *byteframe.ByteFrame) {
|
||||||
// Prevent reading malformed request
|
// Prevent reading malformed request
|
||||||
if s.client != PS4 {
|
if s.client != PS4 {
|
||||||
dataLength := len(bf.DataFromCurrent()) //PS4 is 24
|
if len(bf.DataFromCurrent()) < 128 {
|
||||||
if dataLength < 128 {
|
|
||||||
s.sendCode(SIGN_EABORT)
|
s.sendCode(SIGN_EABORT)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user