Browse Source

Merge pull request #156 from ShaneMcC/master

Fix SimpleRateLimitedOutputQueue endlessly requeueing lines rather than sending them.
pull/157/head
Shane Mc Cormack 7 years ago
parent
commit
a6715c7d83

+ 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