mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Fix typo (= vs ==)
This commit is contained in:
parent
71acdaf8c5
commit
45850d17da
@ -64,11 +64,11 @@ class Allow : public Action {
|
||||
static std::string allowTypeToName (AllowType a) {
|
||||
if (a == NoneAllowType) {
|
||||
return "None";
|
||||
} else if (a = RequestAllowType) {
|
||||
} else if (a == RequestAllowType) {
|
||||
return "Request";
|
||||
} else if (a = PhaseAllowType) {
|
||||
} else if (a == PhaseAllowType) {
|
||||
return "Phase";
|
||||
} else if (a = FromNowOneAllowType) {
|
||||
} else if (a == FromNowOneAllowType) {
|
||||
return "FromNowOne";
|
||||
} else {
|
||||
return "Unknown";
|
||||
|
Loading…
x
Reference in New Issue
Block a user