public void onKick(String channel, String kickerNick, String kickerLogin, String kickerHostname, String recipientNick, String reason) {
                String kick_message =
                                DarkIRC.AppLang.getString("kick_msg").replace("{~nick~}", recipientNick).replace("{~channel~}", channel).replace("{~kickerNick~}", kickerNick)
                                                .replace("{~reason~}", reason);
                if (channel.equalsIgnoreCase(DarkIRC.currentChan.name)) {
                        GUIMain.add_line(kick_message);

                        GUIMain.userListModel.removeAllElements();
                        User[] u = DarkIRC.bot.getUsers(DarkIRC.currentChan.name);
                        for (int i = 0; i < u.length; i++) {
                                GUIMain.userListModel.addElement(u[i].getPrefix() + u[i].getNick());
                        }
                } else {
                        for (int i = 0; i < DarkIRC.channelsList.size(); i++) {
                                // System.out.println(DarkIRC.channelsList.get(i).name + "  =  "
                                // + channel);
                                if (DarkIRC.channelsList.get(i).name.equalsIgnoreCase(channel)) {
                                        Logs.makeLog(DarkIRC.channelsList.get(i) + ".log", Logs.readLog(DarkIRC.channelsList.get(i) + ".log") + kick_message + "\n");
                                }
                        }
                }
        }