@Override
	public void onJoin(String connectionName, String host, Message m) {

		if(m.getNickname().equalsIgnoreCase(connection.getNick())) {
			if(!(m.getContent().equals("")))
			{
				System.out.println("i am joining a channel myself.");
				System.out.println("Joined:"+ m.getContent());
			}

		} else if(m.getUser().equalsIgnoreCase(connection.getNick())) {
			if(!(m.getContent().equals("")))
			{
				System.out.println("i am joining a channel myself.");
				System.out.println("Joined:"+ m.getContent());
			}
		}else {
			if(!(m.getParams()[0].equals(""))) {
				System.out.println("no params[0]");
				System.out.println("Joined:"+ m.getContent());
			} else if(m.getContent().equals("")){
				System.out.println("no content");
				System.out.println("Joined:"+ m.getContent());
			}
			if(!(connection.getUsers().contains(m.getNickname())))
			{
				connection.getUsers().add(new User(m.getNickname(), false));
			}
		}
	}