Merge pull request 'Fixed captcha testing' (#1) from echotron into master

Reviewed-on: #1
This commit is contained in:
nefrace 2023-01-14 01:34:19 +03:00
commit e02e879378
1 changed files with 0 additions and 3 deletions

View File

@ -97,9 +97,6 @@ func checkCaptcha(b *bot, update *tb.Update) error {
b.DeleteMessage(message.Chat.ID, user.CaptchaMessage) b.DeleteMessage(message.Chat.ID, user.CaptchaMessage)
} }
} else {
log.Println(err)
return err
} }
if !solved { if !solved {
b.DeleteMessage(message.Chat.ID, message.ID) b.DeleteMessage(message.Chat.ID, message.ID)