code: private function getLastMessages ($newStuff)
  	{
  		// Let's memcache this!		
  		$iLastMessage = $this->objCache->getCache ($this->sCacheKey);
  		
  		if (isset ($_SESSION['chat_channel_move']) && $_SESSION['chat_channel_move'])
  		{
  			$_SESSION['chat_channel_move'] = false;
  			unset ($_SESSION['chat_channel_move']);
  			return false;
  		}
  		
  		// If iLastMessage is smaller then the stuff we want...
  		if ($iLastMessage && $iLastMessage <= $newStuff)
  		{
  			return array ();
  		}
  	
  		$db = Neuron_DB_Database::getInstance ();
  		
  		// Load the user rights
  		$msgs = $db->query
  		("
  			SELECT
  				chat.msgId,
  				chat.msg,
  				chat.datum,
  				chat.plid,
  				chat.target_group,
  				chat.target_id,
  				chat.mtype
  			FROM
  				chat
  			WHERE
  				chat.msgId > $newStuff AND 
  				{$this->getUserRightWhere()}
  			ORDER BY
  				chat.msgId ASC
  			LIMIT
  				20
  		");
  		
  		return $msgs;
  	}
docs: /*
  Returns the last 20 messages