mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 01:22:18 +03:00
Refactoring in the Rule class to make it more elegant
This commit is contained in:
@@ -49,7 +49,7 @@ bool RuleId::init(std::string *error) {
|
||||
|
||||
|
||||
bool RuleId::evaluate(RuleWithActions *rule, Transaction *transaction) {
|
||||
rule->m_ruleId = m_ruleId;
|
||||
rule->setId(m_ruleId);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user