Browse Source

raw window should probably use server.sendline rather than calling itself repeatedly...

Change-Id: I4eeeddbee53ca9310e74ba1ecb3eb3875d746c98
Reviewed-on: http://gerrit.dmdirc.com/2545
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.7rc1
Shane Mc Cormack 11 years ago
parent
commit
b2954e9e5c
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      src/com/dmdirc/Raw.java

+ 1
- 3
src/com/dmdirc/Raw.java View File

@@ -120,9 +120,7 @@ public final class Raw extends WritableFrameContainer
120 120
     /** {@inheritDoc} */
121 121
     @Override
122 122
     public void sendLine(final String line) {
123
-        if (!line.isEmpty()) {
124
-            sendLine(line);
125
-        }
123
+        server.sendLine(line);
126 124
     }
127 125
 
128 126
     /** {@inheritDoc} */

Loading…
Cancel
Save