mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 05:44:02 +03:00
Move telegram to separate module
This commit is contained in:
@@ -58,13 +58,7 @@ func (f Frame) DC() (n int16) {
|
||||
n = 1
|
||||
}
|
||||
|
||||
if n < 0 {
|
||||
n = -n
|
||||
} else if n == 0 {
|
||||
n = 1
|
||||
}
|
||||
|
||||
return n - 1
|
||||
return
|
||||
}
|
||||
|
||||
// Valid checks that *decrypted* frame is valid. Only magic bytes are checked.
|
||||
|
||||
Reference in New Issue
Block a user