home · contact · privacy
Remove filter-TODO now fulfilled directly in parser.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 5 Dec 2020 11:06:22 +0000 (12:06 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 5 Dec 2020 11:06:22 +0000 (12:06 +0100)
plomrogue/commands.py

index f2e479e17cc0bfbecac54c8f485f9e1d8ddfcb3f..dc2e6ead099deb9c2a873f93e3309bd327d7d464 100644 (file)
@@ -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):