dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 9cb8d1e89200452877df3beee2d9f0cb2a91ceef
parent 5a29609510ceb14186a1a2e4bba119e362f852e2
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun, 24 Dec 2023 00:55:13 -0500

cleanup

Diffstat:
Mpkg/web/handlers/poker/poker.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/handlers/poker/poker.go b/pkg/web/handlers/poker/poker.go @@ -880,7 +880,7 @@ func doBet(g *PokerGame, p *pokerPlayer, betLbl := utils.Ternary(g.IsBet(), "bet", "raise") // Ensure the player cannot bet below the table minimum bet (amount of the big blind) if bet < minRaise { - msg := fmt.Sprintf("%s (%d) is too low. Must %s at least %d", betLbl, bet, betLbl, minRaise) + msg := fmt.Sprintf("%s (%d) is too low. Must %s at least %d", betLbl, evt.Bet, betLbl, minRaise) PokerPubSub.Pub(roomUserTopic, ErrorMsgEvent{Message: msg}) return continueGetPlayerEventLoop }