Skip to content

Commit

Permalink
Feed the hobgoblins (delint).
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jul 4, 2018
1 parent a11cb30 commit 52fc388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions irc/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -921,8 +921,8 @@ def _handle_event(self, connection, event):
"""
with self.mutex:
matching_handlers = sorted(
self.handlers.get("all_events", []) +
self.handlers.get(event.type, [])
self.handlers.get("all_events", [])
+ self.handlers.get(event.type, [])
)
for handler in matching_handlers:
result = handler.callback(connection, event)
Expand Down

0 comments on commit 52fc388

Please sign in to comment.