Browse Source

Use the right key.

Change-Id: Ie58e89fa0cfa7a510561bdf387125bcc5d0ba854
Reviewed-on: http://gerrit.dmdirc.com/551
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com>
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
tags/0.6.3
Shane Mc Cormack 14 years ago
parent
commit
a51871c405
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/dmdirc/parser/irc/IRCParser.java

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

@@ -1504,7 +1504,7 @@ public class IRCParser implements SecureParser, Runnable {
1504 1504
             // Find any key for this channel
1505 1505
             final String[] keybits = bit.split(" ", 2);
1506 1506
             final String channelName = keybits[0];
1507
-            final String thisKey = (keybits.length > 1) ? keybits[0] : key;
1507
+            final String thisKey = (keybits.length > 1) ? keybits[1] : key;
1508 1508
 
1509 1509
             // Make sure we have a list to put stuff in.
1510 1510
             StringBuffer list = joinMap.get(thisKey);

Loading…
Cancel
Save