From 552ab1e39852733203d2037aa0bbaa1b63fd94a2 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 19 May 2008 21:29:14 +0000 Subject: 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 --- include/channels.h | 2 +- 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 */ -- cgit v1.2.3