summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-25 12:05:40 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-25 12:05:40 +0200
commitf62654a6859998f9d63eb22702c572d5ebcff15c (patch)
treefd38985a6a7f94658c157da9a6f470d718f34eed /src/users.cpp
parent9c285d9546ea5b99a5ae1ac5186206308ca2d38f (diff)
parent2cc3d7ecb8cd77341215db5bb94cebf917a5c5ef (diff)
Merge insp20
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
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;
}