mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +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
|
||||
# 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):
|
||||
|
Loading…
Reference in New Issue
Block a user