public ServerConnection(String server, int id, int tab)
	{
		serverid = id;
		servertab = tab;
		serverip = server;
		setName(Main.user);
		try
		{
			connect(server);
		}
		catch (IOException e)
		{
			Main.gui.tabs.get(tab).addMessage((e.getMessage()));
		}
		catch (IrcException e)
		{
			Main.gui.tabs.get(tab).addMessage((e.getMessage()));
		}
	}