commit e300bbdbde35d7309ac35cfca8096a9ab34900eb parent b4154b85646ca1b26668fb4464006b7353d2ff0b Author: n0tr1v <n0tr1v@protonmail.com> Date: Wed, 27 Dec 2023 17:19:44 -0500 fix Diffstat:
| M | pkg/web/handlers/poker.go | | | 4 | ---- |
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/pkg/web/handlers/poker.go b/pkg/web/handlers/poker.go @@ -390,10 +390,6 @@ func PokerRakeBackHandler(c echo.Context) error { func PokerTableHandler(c echo.Context) error { roomID := c.Param("roomID") - g := poker.PokerInstance.GetGame(poker.RoomID(roomID)) - if g == nil { - return c.Redirect(http.StatusFound, "/") - } var data pokerTableData data.PokerTableSlug = roomID return c.Render(http.StatusOK, "poker-table", data)