summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-09-11 15:38:26 +0100
committerPeter Powell <petpow@saberuk.com>2017-09-18 14:09:01 +0100
commitca9a56b7ac0ec2139ade835144369455baa757bc (patch)
tree85c22f30061f313ccba6c179667075ab347cc34e /include
parent60d92db9a1b71bbfd4230c5eb9f04cd6a87a41d8 (diff)
Convert Disabled[CU]Modes to use a bitset instead of a char array.
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 36bb3297e..a98736640 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -319,11 +319,11 @@ class CoreExport ServerConfig
/** This variable identifies which usermodes have been diabled.
*/
- char DisabledUModes[64];
+ std::bitset<64> DisabledUModes;
/** This variable identifies which chanmodes have been disabled.
*/
- char DisabledCModes[64];
+ std::bitset<64> DisabledCModes;
/** If set to true, then all opers on this server are
* shown with a generic 'is an IRC operator' line rather