public void onNickChange(String oldNick, String login, String hostname, String newNick) {
                String nick_change_message = DarkIRC.AppLang.getString("nick_change_msg").replace("{~oldnick~}", oldNick).replace("{~newnick~}", newNick);
                for (int i = 0; i < DarkIRC.channelsList.size(); i++) {
                        if (DarkIRC.channelsList.get(i).name.startsWith("#")) {
                                User[] uchan = DarkIRC.bot.getUsers(DarkIRC.channelsList.get(i).name);
                                // for(int n = 0; i < uchan.length; n++){
                                for (User us : uchan) {
                                        if (us.getNick().equalsIgnoreCase(newNick)) {
                                                if (DarkIRC.channelsList.get(i).equals(DarkIRC.currentChan)) {
                                                        GUIMain.add_line(nick_change_message);
                                                } else {
                                                        Logs.makeLog(DarkIRC.channelsList.get(i) + ".log", Logs.readLog(DarkIRC.channelsList.get(i) + ".log") + nick_change_message + "\n");
                                                }
                                        }
                                }
                        }
                }
                if (DarkIRC.currentChan.type != Channel.STATUS) {
                        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());
                        }
                }
        }