summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/channels.h2
-rw-r--r--include/users.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/channels.h b/include/channels.h
index 7f1be6c5a..bf06e760a 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -142,7 +142,7 @@ class CoreExport Channel : public Extensible
* for mode +A, index 0. Use modechar-65 to calculate which
* field to check.
*/
- char modes[64];
+ unsigned char modes[64];
/** User lists.
* There are four user lists, one for
diff --git a/include/users.h b/include/users.h
index c07e157ab..0d2bff012 100644
--- a/include/users.h
+++ b/include/users.h
@@ -542,12 +542,12 @@ class CoreExport User : public connection
* The following RFC characters o, w, s, i have constants defined via an
* enum, such as UM_SERVERNOTICE and UM_OPETATOR.
*/
- char modes[64];
+ unsigned char modes[64];
/** What snomasks are set on this user.
* This functions the same as the above modes.
*/
- char snomasks[64];
+ unsigned char snomasks[64];
/** Channels this user is on, and the permissions they have there
*/