public void onInvite(String targetNick, String sourceNick, String sourceLogin, String sourceHostname, String channel) {
        if (targetNick.equalsIgnoreCase(getNick())) {
            if (sourceNick.equalsIgnoreCase("ChanServ")) {
                channel = channel.replace("ChanServ!ChanServ@Services.GameSurge.net INVITE Meowzy ", "");
            }
            Log.consoleLog("Invite", "Being invited to " + channel + " by " + sourceNick + " (" + sourceLogin + "@" + sourceHostname + ")");
            if (sourceHostname.equalsIgnoreCase("irc.kieraan.co.uk") || sourceNick.equalsIgnoreCase("ChanServ")) {
                Log.consoleLog("Invite", "Accepting " + sourceNick + "'s invite to " + channel);
                joinChannel(channel);
            }
        }
    }