Remove unnecessary variable.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 8 Apr 2013 19:53:29 +0000 (21:53 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 8 Apr 2013 19:53:29 +0000 (21:53 +0200)
src/main/java/net/pterodactylus/irc/Connection.java

index a50c946..fd7748f 100644 (file)
@@ -329,7 +329,6 @@ public class Connection extends AbstractExecutionThreadService implements Servic
                                } else if (command.equals("332")) {
                                        eventBus.post(new ChannelTopic(this, parameters.get(1), parameters.get(2)));
                                } else if (command.equals("353")) {
-                                       String channel = parameters.get(2);
                                        for (String nickname : parameters.get(3).split(" ")) {
                                                if (nickPrefixes.containsKey(nickname.substring(0, 1))) {
                                                        nicks.add(new Nickname(nickname.substring(1), nickname.substring(0, 1)));