From 31d3aaf0ceb18248935adcbb66c8036f43c45d29 Mon Sep 17 00:00:00 2001 From: Daniel Yates Date: Thu, 2 May 2024 15:21:46 +0100 Subject: [PATCH] Blocked queues should keep the despooler alive We need to include the presence of blocked queues in the count of active priorities, even if we ultimately won't send on any of them. If we don't, then a few lines below this we end up hiding the frame and disabling our OnUpdate script until someone else queues a message. --- AceComm-3.0/ChatThrottleLib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AceComm-3.0/ChatThrottleLib.lua b/AceComm-3.0/ChatThrottleLib.lua index 9526bad..f64088b 100644 --- a/AceComm-3.0/ChatThrottleLib.lua +++ b/AceComm-3.0/ChatThrottleLib.lua @@ -440,7 +440,7 @@ function ChatThrottleLib.OnUpdate(this,delay) -- See how many of our priorities have queued messages (we only have 3, don't worry about the loop) local n = 0 for prioname,Prio in pairs(self.Prio) do - if Prio.Ring.pos or Prio.avail < 0 then + if Prio.Ring.pos or Prio.Blocked.pos or Prio.avail < 0 then n = n + 1 end end