mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 10:20:35 +03:00
cosmetics: Having the parser in a better shape regarding operators 1/2
This commit is contained in:
committed by
Felipe Zimmerle
parent
3a413080f9
commit
9cda4c0be0
@@ -27,7 +27,10 @@ namespace operators {
|
||||
class GeoLookup : public Operator {
|
||||
public:
|
||||
/** @ingroup ModSecurity_Operator */
|
||||
GeoLookup(std::string o, std::string p, bool i);
|
||||
GeoLookup(std::string op, std::string param, bool negation)
|
||||
: Operator(op, param, negation) { }
|
||||
GeoLookup(std::string param)
|
||||
: Operator("GeoLookup", param) { }
|
||||
bool evaluate(Transaction *transaction, const std::string &exp) override;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user