summaryrefslogtreecommitdiff
path: root/swiftstory/Client.py
diff options
context:
space:
mode:
Diffstat (limited to 'swiftstory/Client.py')
-rw-r--r--swiftstory/Client.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/swiftstory/Client.py b/swiftstory/Client.py
index b1a6ae7..93ea232 100644
--- a/swiftstory/Client.py
+++ b/swiftstory/Client.py
@@ -2,7 +2,6 @@ import asyncio
import logging
from swiftstory.exception import WrongAction
-from swiftstory.Status import error
class Client:
@@ -23,9 +22,6 @@ class Client:
game = self.game_manager.join_game(game_name, lang)
# XXX self.game will be assigned by game.try_join()
- if game is None:
- return error('Invalid language')
-
return game.try_join(self)
def play_white_card(self, card_id):