fix compilation
This commit is contained in:
parent
fdf3d4e0dd
commit
ace2ff22e9
2
td.go
2
td.go
@ -225,7 +225,7 @@ func OwnUserID(c *tdlib.Client) int32 {
|
|||||||
|
|
||||||
func clientMsg(c *tdlib.Client, m TGCommand) {
|
func clientMsg(c *tdlib.Client, m TGCommand) {
|
||||||
if m.Delay != 0 {
|
if m.Delay != 0 {
|
||||||
time.Sleep(time.Duration(m.Delay * time.Second))
|
time.Sleep(time.Duration(m.Delay) * time.Second)
|
||||||
}
|
}
|
||||||
switch m.Type {
|
switch m.Type {
|
||||||
case commandSendMsg:
|
case commandSendMsg:
|
||||||
|
Loading…
Reference in New Issue
Block a user