Skip to content

Commit

Permalink
MultiServer: Fix /alias <name> not removing aliases.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhar committed Apr 21, 2024
1 parent a45fa84 commit eb8ac0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MultiServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,7 @@ def _cmd_exit(self) -> bool:
@mark_raw
def _cmd_alias(self, player_name_then_alias_name):
"""Set a player's alias, by listing their base name and then their intended alias."""
player_name, alias_name = player_name_then_alias_name.split(" ", 1)
player_name, _, alias_name = player_name_then_alias_name.partition(" ")
player_name, usable, response = get_intended_text(player_name, self.ctx.player_names.values())
if usable:
for (team, slot), name in self.ctx.player_names.items():
Expand Down

0 comments on commit eb8ac0b

Please sign in to comment.