From 6ce72e1ad2b4b5266c7288bdbe9eb5046275d9e3 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 a8d573ab7..8d062b833 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):