Fixed captcha testing
This commit is contained in:
1 parent
d27313a774
commit
8608800069
1 file changed
-3
@@ -97,9 +97,6 @@ func checkCaptcha(b *bot, update *tb.Update) error {
|
||||
b.DeleteMessage(message.Chat.ID, user.CaptchaMessage)
|
||||
|
||||
}
|
||||
} else {
|
||||
log.Println(err)
|
||||
return err
|
||||
}
|
||||
if !solved {
|
||||
b.DeleteMessage(message.Chat.ID, message.ID)
|
||||
|
||||
Reference in new issue
Block a user