Skip to content

Commit

Permalink
Fixing pass parameter channel with message EVENT_CHANNEL_MEMBERS_UPDA…
Browse files Browse the repository at this point in the history
…TE (#33)
  • Loading branch information
hypnocapybara authored and rossengeorgiev committed Dec 16, 2017
1 parent c0ccbaf commit 327dca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dota2/features/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def _handle_members_update(self, message):
channel._process_members_from_proto(message)

if joined or left:
self.emit(self.EVENT_CHANNEL_MEMBERS_UPDATE, joined, left)
self.emit(self.EVENT_CHANNEL_MEMBERS_UPDATE, channel, joined, left)

def join_channel(self, channel_name, channel_type=DOTAChatChannelType_t.DOTAChannelType_Custom):
"""Join a chat channel
Expand Down

0 comments on commit 327dca0

Please sign in to comment.