Browse Source

Fix SimpleRateLimitedOutputQueue endlessly requeueing lines rather than sending them.

pull/156/head
Shane Mc Cormack 7 years ago
parent
commit
cf32f851a1

+ 1
- 1
irc/src/main/java/com/dmdirc/parser/irc/outputqueue/SimpleRateLimitedOutputQueue.java View File

184
     protected void handleQueuedItems() {
184
     protected void handleQueuedItems() {
185
         try {
185
         try {
186
             while (isQueueEnabled()) {
186
             while (isQueueEnabled()) {
187
-                sendLine(getQueue().take().getLine());
187
+                send(getQueue().take().getLine());
188
 
188
 
189
                 final boolean doSleep;
189
                 final boolean doSleep;
190
                 synchronized (this) {
190
                 synchronized (this) {

Loading…
Cancel
Save