mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Yet another refactoring in Rule
This commit is contained in:
@@ -46,9 +46,10 @@ class RuleScript : public Rule {
|
||||
public:
|
||||
RuleScript(const std::string &name,
|
||||
std::vector<Action *> *actions,
|
||||
Transformations *t,
|
||||
std::unique_ptr<std::string> fileName,
|
||||
int lineNumber)
|
||||
: Rule(NULL, NULL, actions, std::move(fileName), lineNumber),
|
||||
: Rule(NULL, NULL, actions, t, std::move(fileName), lineNumber),
|
||||
m_name(name) { }
|
||||
|
||||
bool init(std::string *err);
|
||||
|
Reference in New Issue
Block a user