mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 18:30:35 +03:00
Refactoring: renames Rule to RuleWithOperator
This commit is contained in:
@@ -112,7 +112,7 @@ bool SetVar::evaluate(RuleWithActions *rule, Transaction *t) {
|
||||
|
||||
try {
|
||||
std::vector<const VariableValue *> l;
|
||||
Rule *rr = dynamic_cast<Rule *>(rule);
|
||||
RuleWithOperator *rr = dynamic_cast<RuleWithOperator *>(rule);
|
||||
m_variable->evaluate(t, rr, &l);
|
||||
if (l.size() == 0) {
|
||||
value = 0;
|
||||
|
||||
Reference in New Issue
Block a user