예제 #1
0
   bool 
   SpamProtection::GreyListingAllowSend(const String &sSenderAddress, const String &sRecipientAddress, const IPAddress & iRemoteIP)
   {
      if (IsWhiteListed(sSenderAddress, iRemoteIP))
         return true;

      GreyListing oGreyList;
      if (!oGreyList.GetAllowSend(sSenderAddress, sRecipientAddress, iRemoteIP))
         return false;

      return true;
   }
예제 #2
0
bool FVisualLogger::IsCategoryLogged(const struct FLogCategoryBase& Category) const
{
	if ((GEngine && GEngine->bDisableAILogging) || IsRecording() == false)
	{
		return false;
	}

	const FName CategoryName = Category.GetCategoryName();
	if (IsBlockedForAllCategories() && IsWhiteListed(CategoryName) == false)
	{
		return false;
	}

	return true;
}