diff --git a/dota2/features/party.py b/dota2/features/party.py index 1bf1a8a..964a413 100644 --- a/dota2/features/party.py +++ b/dota2/features/party.py @@ -179,7 +179,7 @@ def kick_from_party(self, steam_id): """ if (not self.party or self.party.leader_id != self.steam.steam_id - or steam_id not in self.party.memeber_ids): return + or steam_id not in self.party.member_ids): return if self.verbose_debug: self._LOG.debug("Kicking %s from the party." % steam_id)