diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-19 21:29:14 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-19 21:29:14 +0000 |
commit | 552ab1e39852733203d2037aa0bbaa1b63fd94a2 (patch) | |
tree | 2d73b7466d568b4b977a26ea768b5ba0f9cd8b11 /include | |
parent | 31f1e7ad092f8bf16ee653cc105eea4a769650ca (diff) |
More correctly state the lookup arrays as unsigned char, not char
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9771 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/channels.h | 2 | ||||
-rw-r--r-- | include/users.h | 4 |
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 */ |