aboutsummaryrefslogtreecommitdiff
path: root/api/game/socket.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/game/socket.py')
-rw-r--r--api/game/socket.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/game/socket.py b/api/game/socket.py
index 69dc07e..ca28346 100644
--- a/api/game/socket.py
+++ b/api/game/socket.py
@@ -22,12 +22,12 @@ def participants_only(func):
game_id = data["game_id"]
if not game_id or \
- not game_id in games:
+ not game_id in games:
return
game = games[game_id]
if game.player_1_id != user_id and \
- game.player_2_id != user_id:
+ game.player_2_id != user_id:
return
return func(data, user_id, game)