Browse Source

Fix 001s not being part of serverInformationLines

Change-Id: I5394a1c6119568b82a2e65cb3bd97ede08817172
Reviewed-on: http://gerrit.dmdirc.com/2269
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.7rc1
Shane Mc Cormack 12 years ago
parent
commit
b0410712da
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/com/dmdirc/parser/irc/IRCParser.java

+ 4
- 0
src/com/dmdirc/parser/irc/IRCParser.java View File

@@ -1229,6 +1229,10 @@ public class IRCParser extends BaseParser implements SecureParser, EncodingParse
1229 1229
                     }
1230 1230
                     switch (nParam) {
1231 1231
                         case 1: // 001 - Welcome to IRC
1232
+                            synchronized (serverInformationLines) {
1233
+                                serverInformationLines.add(line.getLine());
1234
+                            }
1235
+                            // Fallthrough
1232 1236
                         case 464: // Password Required
1233 1237
                         case 433: // Nick In Use
1234 1238
                             try {

Loading…
Cancel
Save