Merge pull request #3127 from fzipi/fix-rbl-check

fix(rbl): typo in rbl check selector
This commit is contained in:
Ervin Hegedus 2024-04-22 15:56:25 +02:00 committed by GitHub
commit 6217b4ec1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,9 +71,9 @@ class Rbl : public Operator {
m_demandsPassword = true;
m_provider = RblProvider::httpbl;
} else if (m_service.find("uribl.com") != std::string::npos) {
m_provider = RblProvider::httpbl;
m_provider = RblProvider::uribl;
} else if (m_service.find("spamhaus.org") != std::string::npos) {
m_provider = RblProvider::httpbl;
m_provider = RblProvider::spamhaus;
}
}
bool evaluate(Transaction *transaction, RuleWithActions *rule,