mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 18:30:35 +03:00
Adds checks for the NO_LOGS definition and improved the vars resolution time
This commit is contained in:
@@ -32,7 +32,9 @@ SkipAfter::SkipAfter(std::string action)
|
||||
|
||||
|
||||
bool SkipAfter::evaluate(Rule *rule, Assay *assay) {
|
||||
#ifndef NO_LOGS
|
||||
assay->debug(5, "Setting skipAfter for: " + m_marker);
|
||||
#endif
|
||||
assay->m_marker = m_marker;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user