Makes RuleWithActions const in run time operations

This commit is contained in:
Felipe Zimmerle
2019-05-08 11:08:24 -03:00
parent a733313589
commit d023ddffcd
90 changed files with 120 additions and 120 deletions

View File

@@ -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 + ".");