Skip to content

Commit

Permalink
fix(bots): correct check existed vote
Browse files Browse the repository at this point in the history
  • Loading branch information
Satont committed May 21, 2024
1 parent 676dff2 commit a1dc1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/bots/internal/messagehandler/handle_games_voteban.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (c *MessageHandler) handleGamesVoteban(ctx context.Context, msg handleMessa
return err
}

if voteExists == 0 {
if voteExists > 0 {
return nil
}

Expand Down

0 comments on commit a1dc1ad

Please sign in to comment.