aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2018-06-14 14:25:22 +0000
committerEric S. Raymond <esr@thyrsus.com>2018-06-14 14:25:22 +0000
commitdae38eabcbb8d57368815e3326a111232bb99c70 (patch)
tree8f066e8db46ba53eb58f5db4499b7dbce0a3ad1d
parentMerge branch 'feature/irkerhook_py3k_support' into 'master' (diff)
parentDrop sorted() from event_handler (diff)
downloadirker-dae38eabcbb8d57368815e3326a111232bb99c70.tar.xz
Merge branch 'bugs/drop_event_handler_sorting' into 'master'
Drop sorted() from event_handler Closes #11 See merge request esr/irker!18
-rwxr-xr-xirkerd2
1 files changed, 1 insertions, 1 deletions
diff --git a/irkerd b/irkerd
index 7dd8c3f..9d5f890 100755
--- a/irkerd
+++ b/irkerd
@@ -197,7 +197,7 @@ class IRCClient():
def handle_event(self, connection, event):
with self.mutex:
h = self.event_handlers
- th = sorted(h.get("all_events", []) + h.get(event.type, []))
+ th = h.get("all_events", []) + h.get(event.type, [])
for handler in th:
handler(connection, event)