mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-26 12:43:09 +01:00
[wip] idea for ordering batches in Irc.queue
This commit is contained in:
parent
e19436a4ba
commit
26f2d9a292
@ -1378,6 +1378,8 @@ class Irc(IrcCommandDispatcher, log.Firewalled):
|
|||||||
# TODO: the batch will be ordered with the priority of a BATCH
|
# 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
|
# message (ie. normal), but if the batch is made only of low-priority
|
||||||
# messages like PRIVMSG, it should have that 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])
|
self.queue.enqueue(msgs[0])
|
||||||
|
|
||||||
def _truncateMsg(self, msg):
|
def _truncateMsg(self, msg):
|
||||||
|
Loading…
Reference in New Issue
Block a user