Removes RuleMessage from action execute signature

This commit is contained in:
Felipe Zimmerle
2019-03-15 01:35:07 -03:00
parent 01a80f8214
commit 4cd9fb39e6
30 changed files with 45 additions and 79 deletions

View File

@@ -29,9 +29,8 @@ namespace modsecurity {
namespace actions {
bool LogData::execute(RuleWithActions *rule, Transaction *transaction,
RuleMessage &rm) {
rm.m_data = data(transaction);
bool LogData::execute(RuleWithActions *rule, Transaction *transaction) {
transaction->messageGetLast()->m_data = data(transaction);
return true;
}