]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/channels.h
More numerics.h conversion
[user/henk/code/inspircd.git] / include / channels.h
index 0d4c4813c28e114d17275f6e1a4a7d5cf843e39f..2042df2209d31f51f72b9b839c02b5d5b6c84639 100644 (file)
@@ -137,12 +137,12 @@ class CoreExport Channel : public Extensible
        std::string name; /* CHANMAX */
 
        /** Modes for the channel.
-        * This is not a null terminated string! It is a hash where
+        * This is not a null terminated string! It is a bitset where
         * each item in it represents if a mode is set. For example
         * for mode +A, index 0. Use modechar-65 to calculate which
         * field to check.
         */
-       unsigned char modes[64];
+       std::bitset<64> modes;
 
        /** User lists.
         * There are four user lists, one for