@Override
            public void actionPerformed(ActionEvent e) {
                User nick = userListPane.getSelectedValue();
                if (nick == null) return;
                String nickname = nick.getText();
                if (nickname.equals(Connection.currentNick)) return;
                if (ignoreList.contains(nick.getText())) {
                    ignoreList.remove(nick.getText());
                    String[] msg = {null, "*** "+ nickname +" removed from ignore list."};
                    try {
                        insertString(msg, GUI.serverStyle, false);
                    } catch (BadLocationException | IOException ex) {
                        Logger.getLogger(ChannelPanel.class.getName()).log(Level.SEVERE, null, ex);
                    }
                } else {
                    ignoreList.add(nick.getText());
                    String[] msg = {null, "*** " + nickname + " added to ignore list."};
                    try {
                        insertString(msg, GUI.serverStyle, false);
                    } catch (BadLocationException | IOException ex) {
                        Logger.getLogger(ChannelPanel.class.getName()).log(Level.SEVERE, null, ex);
                    }
                }
            }