@Override
	protected void onKick(String channel, String kickerNick, String kickerLogin, String kickerHostname, String recipientNick, String reason) 
	{
		super.onKick(channel, kickerNick, kickerLogin, kickerHostname, recipientNick, reason);
		int targettab = 0;
		int i = 0;
		while(true)
		{
			try
			{
				if(Main.gui.tabs.get(i).title.equalsIgnoreCase(channel) || Main.gui.tabs.get(i).title.substring(1).equalsIgnoreCase(channel))
				{
					targettab = i;
					break;
				}
				else
				{
					i++;
				}
			}
			catch(Exception e)
			{
				break;
			}
		}
		Main.gui.tabs.get(targettab).addMessage(recipientNick + " has been kicked from " + channel + " by " + kickerNick + " [" + reason + "]");
		Main.gui.tabs.get(targettab).onUpdate();
	}