Small fix

This commit is contained in:
9seconds
2018-07-13 08:04:04 +03:00
parent 253c705ed6
commit daa2d5b901
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ func (m *MTProtoIntermediate) Write(p []byte) (int, error) {
"counter", m.writeCounter, "counter", m.writeCounter,
) )
if m.opts.ReadHacks.SimpleAck { if m.opts.WriteHacks.SimpleAck {
return m.conn.Write(p) return m.conn.Write(p)
} }
+1 -1
View File
@@ -36,7 +36,7 @@ func (m *MTProtoIntermediateSecure) Write(p []byte) (int, error) {
"counter", m.writeCounter, "counter", m.writeCounter,
) )
if m.opts.ReadHacks.SimpleAck { if m.opts.WriteHacks.SimpleAck {
return m.conn.Write(p) return m.conn.Write(p)
} }