From 26f2d9a292fa954694bf1a8e2213fec7cefc8c23 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 13 Mar 2021 12:15:21 +0100 Subject: [PATCH] [wip] idea for ordering batches in Irc.queue --- src/irclib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/irclib.py b/src/irclib.py index 80449a621..1a34a65d6 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -1378,6 +1378,8 @@ class Irc(IrcCommandDispatcher, log.Firewalled): # TODO: the batch will be ordered with the priority of a BATCH # message (ie. normal), but if the batch is made only of low-priority # messages like PRIVMSG, it should have that priority. + # (or maybe order on the batch type instead of commands inside + # the batch?) self.queue.enqueue(msgs[0]) def _truncateMsg(self, msg):