diff options
| author | 2014-07-25 12:05:40 +0200 | |
|---|---|---|
| committer | 2014-07-25 12:05:40 +0200 | |
| commit | f62654a6859998f9d63eb22702c572d5ebcff15c (patch) | |
| tree | fd38985a6a7f94658c157da9a6f470d718f34eed /src/users.cpp | |
| parent | Update Windows build scripts for the recent build sys changes (diff) | |
| parent | Release v2.0.17 (diff) | |
Merge insp20
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 3f82b850c..8d22d166c 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -416,7 +416,7 @@ void OperInfo::init() { this->AllowedUserModes.set(); } - else if (*c >= 'A' && *c < 'z') + else if (*c >= 'A' && *c <= 'z') { this->AllowedUserModes[*c - 'A'] = true; } @@ -429,7 +429,7 @@ void OperInfo::init() { this->AllowedChanModes.set(); } - else if (*c >= 'A' && *c < 'z') + else if (*c >= 'A' && *c <= 'z') { this->AllowedChanModes[*c - 'A'] = true; } |
