public void forwardToRoom(String msg) {
		if (myRoom == null)
			return;
			
		//Ungag person if they are past their gag time
		if (System.currentTimeMillis() >= gagTime)
			isGagged = false;
			
		if (isGagged) {
			sendChat("You are gagged, your message was not heard.");
			return;
		}
			
		//If this chat is above threshold then we're spamming
		if (getAccount().getLevel() < 2 && ChatPrefs.spamProtection() && ++spamThresh >= ChatPrefs.getSpamThreshold()) {
			//Don't spam everyone else if we're already gagged
			if (!isGagged) {
				isGagged = true;
				
				String gagMsg = String.format("%s%s%s Auto-Gagged for spamming", WHT, myName, RED);
				
				ChatServer.echo(ChatServer.HEADER + gagMsg);
					
				Logger.getLogger("global").info(gagMsg);
			}
			
			//Reset gag time to 15 seconds
			gagTime = System.currentTimeMillis() + 15 * 1000;
			
			sendChat("You have been gagged for 15 seconds");
		
			return;
		}
		
		trimMatcher.reset(msg);
		
		if (!trimMatcher.find()) {
			Logger.getLogger("global").warning("Unable to match anything?!");
			return;
		}
		
		msg = trimMatcher.group(1);
		
		msg = spoofCheck(msg);
		
		msg = msg.replaceFirst("\n", "");
		int lastCR = msg.lastIndexOf("\n");
		if (lastCR >= msg.length() - 5)	//If we end in a CR or CR<color>, get rid of the CR
			msg = msg.substring(0, lastCR);
		
		myRoom.echo(msg, this, this);
		
		ChatServer.getStats().chats++;
	}