mirror of
https://github.com/ChuckNorrison/LightningTipBot.git
synced 2026-08-15 12:50:37 +02:00
do not cancel inactive faucet (#208)
* fix logs * remove cancel faucet if not active
This commit is contained in:
parent
46d77de38e
commit
0ce42e8f1f
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ func (bot *TipBot) acceptInlineFaucetHandler(ctx context.Context, c *tb.Callback
|
|||
|
||||
if !inlineFaucet.Active {
|
||||
log.Errorf(fmt.Sprintf("[faucet] faucet %s inactive.", inlineFaucet.ID))
|
||||
bot.cancelInlineFaucet(ctx, c, true) // cancel without ID check
|
||||
//bot.cancelInlineFaucet(ctx, c, true) // cancel without ID check
|
||||
return
|
||||
}
|
||||
// release faucet no matter what
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue