Fix the `log' action and the webserver error callback

This commit is contained in:
Felipe Zimmerle
2016-07-16 15:20:31 -03:00
parent 8d9abfb46b
commit d781b00f70
6 changed files with 54 additions and 4 deletions

View File

@@ -31,6 +31,7 @@
#include "actions/severity.h"
#include "actions/capture.h"
#include "actions/pass.h"
#include "actions/log.h"
@@ -89,6 +90,9 @@ Action *Action::instantiate(const std::string& name) {
if (name == "deny") {
return new Deny(name);
}
if (name == "log") {
return new Log(name);
}
return new Action(name);
}