mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 16:01:55 +03:00
Debug ping
This commit is contained in:
@@ -98,7 +98,7 @@ func (m *MTProtoAbridged) Write(p []byte) (int, error) {
|
||||
"counter", m.writeCounter,
|
||||
)
|
||||
|
||||
if len(p)%4 == 0 {
|
||||
if len(p)%4 != 0 {
|
||||
return 0, errors.Errorf("Incorrect packet length %d", len(p))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user