]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
More correctly state the lookup arrays as unsigned char, not char
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 19 May 2008 21:29:14 +0000 (21:29 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 19 May 2008 21:29:14 +0000 (21:29 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9771 e03df62e-2008-0410-955e-edbf42e46eb7

include/channels.h
include/users.h

index 7f1be6c5a1ca4e4d52621b7b353e88504285b588..bf06e760a98ab0445771b87bd4044eec0af8a361 100644 (file)
@@ -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 
index c07e157ab7f6b26d804c703fad847095d4e1fe90..0d2bff0129f351bd55a74cf2fc22b16df3ded2b3 100644 (file)
@@ -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
         */