Fix typo (= vs ==)

This commit is contained in:
Alexey Zelkin 2016-07-04 13:27:32 +00:00 committed by Felipe Zimmerle
parent 71acdaf8c5
commit 45850d17da
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -64,11 +64,11 @@ class Allow : public Action {
static std::string allowTypeToName (AllowType a) { static std::string allowTypeToName (AllowType a) {
if (a == NoneAllowType) { if (a == NoneAllowType) {
return "None"; return "None";
} else if (a = RequestAllowType) { } else if (a == RequestAllowType) {
return "Request"; return "Request";
} else if (a = PhaseAllowType) { } else if (a == PhaseAllowType) {
return "Phase"; return "Phase";
} else if (a = FromNowOneAllowType) { } else if (a == FromNowOneAllowType) {
return "FromNowOne"; return "FromNowOne";
} else { } else {
return "Unknown"; return "Unknown";