summaryrefslogtreecommitdiff
path: root/include/modes.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-12-29 20:29:41 -0500
committerAdam <Adam@anope.org>2012-12-29 20:29:41 -0500
commit326f1a9c8bfe0024883b5dd0da66ec7b9f1ac36f (patch)
treea129c46c40f1d5068bcbeba9030e24412e38fd8d /include/modes.h
parent793c4382868744f6a9522bd1a1865ffff1dbdb70 (diff)
Cleanup after mode locks, badwords, akick, access, if destructed
Diffstat (limited to 'include/modes.h')
-rw-r--r--include/modes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modes.h b/include/modes.h
index b38ef3dc1..e8c8b2f2b 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -350,7 +350,8 @@ class CoreExport ModeManager
/* Number of generic channel and user modes we are tracking */
static unsigned GenericChannelModes, GenericUserModes;
/* Default channel mode lock */
- static std::multimap<ChannelModeName, ModeLock *> DefaultModeLocks;
+ static std::list<std::pair<ChannelModeName, Anope::string> > ModeLockOn;
+ static std::list<ChannelModeName> ModeLockOff;
/* Default modes bots have on channels */
static ChannelStatus DefaultBotModes;