mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 09:55:28 +03:00
Makes RuleWithActions const in run time operations
This commit is contained in:
@@ -22,7 +22,7 @@ bool RuleScript::init(std::string *err) {
|
||||
return m_lua->load(m_name, err);
|
||||
}
|
||||
|
||||
bool RuleScript::evaluate(Transaction *trans) {
|
||||
bool RuleScript::evaluate(Transaction *trans) const {
|
||||
|
||||
ms_dbg_a(trans, 4, " Executing script: " + m_name + ".");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user