From 0ec2f3df7ef3b2f7bdbe7c45278e0944e64a56fe Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 5 Dec 2020 12:06:22 +0100 Subject: [PATCH] Remove filter-TODO now fulfilled directly in parser. --- plomrogue/commands.py | 1 - 1 file changed, 1 deletion(-) 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): -- 2.30.2