diff --git a/transcendence/abstract/AbstractRoom.py b/transcendence/abstract/AbstractRoom.py index 09b202b..7c1c87f 100644 --- a/transcendence/abstract/AbstractRoom.py +++ b/transcendence/abstract/AbstractRoom.py @@ -32,7 +32,7 @@ class AbstractRoom: def append(self, member: AbstractRoomMember): - self._member_list.append(waiter) + self._member_list.append(member) member.accept() def remove(self, member: AbstractRoomMember, code: int = 1000):