mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-19 10:44:25 +03:00
Refactoring in the Rule class to make it more elegant
This commit is contained in:
@@ -35,6 +35,9 @@ class Block : public Action {
|
||||
public:
|
||||
explicit Block(const std::string &action) : Action(action) { }
|
||||
|
||||
Block(const Block &a) = delete;
|
||||
Block &operator=(const Block &a) = delete;
|
||||
|
||||
bool evaluate(RuleWithActions *rule, Transaction *transaction,
|
||||
RuleMessage &rm) override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user