From: Christian Heller Date: Sat, 5 Dec 2020 11:06:22 +0000 (+0100) Subject: Remove filter-TODO now fulfilled directly in parser. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/processes?a=commitdiff_plain;h=0ec2f3df7ef3b2f7bdbe7c45278e0944e64a56fe;p=plomrogue2 Remove filter-TODO now fulfilled directly in parser. --- diff --git a/plomrogue/commands.py b/plomrogue/commands.py index f2e479e..dc2e6ea 100644 --- a/plomrogue/commands.py +++ b/plomrogue/commands.py @@ -36,7 +36,6 @@ def cmd_SPAWN_POINT(game, big_yx, little_yx): cmd_SPAWN_POINT.argtypes = 'yx_tuple yx_tuple:nonneg' def cmd_LOGIN(game, nick, connection_id): - # TODO filter newlines for t in [t for t in game.things if t.type_ == 'Player' and t.name == nick]: raise GameError('name already in use') if game.get_player(connection_id):