summaryrefslogtreecommitdiff
path: root/include/extern.h
diff options
context:
space:
mode:
authorAdam <Adam@drink-coca-cola.info>2010-05-15 00:56:52 -0400
committerAdam <Adam@anope.org>2010-06-18 21:01:55 -0400
commitee57f5719301c3883afcffe5970746f378960917 (patch)
tree994ac1f0dbc675e9950050a2332bb17da79d5f02 /include/extern.h
parentc966d7ec17690037a597e1d8908782de376f3052 (diff)
Store modes in users and channels using the Flags class, cleaner
Diffstat (limited to 'include/extern.h')
-rw-r--r--include/extern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/extern.h b/include/extern.h
index a10585e69..657452fd0 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -350,8 +350,8 @@ E int str_is_cidr(char *str, uint32 * ip, uint32 * mask, char **host);
/**** modes.cpp ****/
/* Number of generic modes we support */
E unsigned GenericChannelModes, GenericUserModes;
-E std::bitset<128> DefMLockOn;
-E std::bitset<128> DefMLockOff;
+E Flags<ChannelModeName> DefMLockOn;
+E Flags<ChannelModeName> DefMLockOff;
E std::map<ChannelModeName, std::string> DefMLockParams;
/* Modes to set on bots when they join the channel */
E std::list<ChannelModeStatus *> BotModes;