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; }
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; }