pyed / transmission-telegram

Control your Transmission through a Telegram bot
Apache License 2.0
288 stars 47 forks source link

Crash if bot get added/removed from a group #3

Closed FrancYescO closed 7 years ago

FrancYescO commented 7 years ago

Seems the bot will crash when get added or removed from a tg group

[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x40b42b]

goroutine 1622 [running]: panic(0x667400, 0xc4200120c0) /usr/local/go/src/runtime/panic.go:500 +0x1a1 main.receiveTorrent(0x26b451bf, 0xc42000e240, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /root/go/src/github.com/pyed/transmission-telegram/transmission-telegram.go:890 +0x3b created by main.main /root/go/src/github.com/pyed/transmission-telegram/transmission-telegram.go:326 +0x2e4