protected void send(RoomEvent event) {
		if(event instanceof JoinEvent) {
			if(((JoinEvent)event).getType()==JoinEvent.EVENT_JOIN) {
				// we need to send a "Joined..." messahge to IRC and to the channel.
				processEvent(new JoinEvent(this,JoinEvent.EVENT_JOIN,23,((JoinEvent)event).getName()));
				processEvent(new ChatEvent(this,-1,"","*" + ((JoinEvent)event).getName() + " enters the room"));
				if(_bJoined)
					sendJoinInfo(((JoinEvent)event).getName());
			} else {
				// we need to send a "Joined..." messahge to IRC and to the channel.
				//processEvent(new JoinEvent(this,JoinEvent.EVENT_LEAVE,22,((JoinEvent)event).getName()));
				processEvent(new ChatEvent(this,-1,"","*" + ((JoinEvent)event).getName() + " leaves the room"));
				if(_bJoined)
					sendIRCCommand(new MessageCommand(_sChannel,"Left QRoom: " + ((JoinEvent)event).getName()));
			}
		} else if(event instanceof ChatEvent) {
			processEvent((ChatEvent)event);
			if(_bJoined) {
				String name=((ChatEvent)event).getName();
				if(name==null || name.equals(""))
					sendIRCCommand(new MessageCommand(_sChannel,((ChatEvent)event).getText()));
				else
					sendIRCCommand(new MessageCommand(_sChannel,"{" + name + "} " + ((ChatEvent)event).getText()));
			}
		} else if(event instanceof SystemMessageEvent)
			// these will always go back to users on QLink.
			processEvent(event);
	}