From ca9a56b7ac0ec2139ade835144369455baa757bc Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 11 Sep 2017 15:38:26 +0100 Subject: Convert Disabled[CU]Modes to use a bitset instead of a char array. --- include/configreader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 -- cgit v1.2.3