Skip to content

Commit

Permalink
fix bug in _on_event()
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Feb 5, 2024
1 parent fd1b6ab commit 94d990f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deltabot_cli/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _on_event(
self, accid: int, event: AttrDict, filter_type: Type[EventFilter] = RawEvent
) -> None:
for hook, evfilter in self._hooks.get(filter_type, []):
if evfilter.filter(event):
if evfilter.filter(self, event):
try:
hook(self, accid, event)
except Exception as ex:
Expand Down

0 comments on commit 94d990f

Please sign in to comment.