Refactoring the actions classes

This commit is contained in:
Felipe Zimmerle
2016-12-19 23:09:57 -03:00
parent 73877d403a
commit 9c7416da97
6 changed files with 341 additions and 388 deletions

View File

@@ -67,7 +67,6 @@ class Action {
}
virtual bool init(std::string *error) { return true; }
virtual bool isDisruptive() { return false; }
static Action *instantiate(const std::string& name);
void set_name_and_payload(const std::string& data) {

View File

@@ -61,7 +61,7 @@ namespace intervention {
freeLog(i);
}
} // namespace modsecurity
} // namespace intervention
#endif
#ifdef __cplusplus