diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-12-05 22:12:48 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-12-05 22:12:48 +0000 |
commit | 4630ae454ad64eb9abca106a1b2261c2f45e263a (patch) | |
tree | ab65f050172173d030166bb16278a8ccd984b51f /include/extern.h | |
parent | 42b8cfe404d7a00de14ecd00a5f6f58fc4fc00af (diff) |
Added options:mlock in the config so you can set what modes should be locked on new channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2690 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/extern.h')
-rw-r--r-- | include/extern.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/extern.h b/include/extern.h index 348489a40..c02ef22e2 100644 --- a/include/extern.h +++ b/include/extern.h @@ -392,6 +392,11 @@ E int str_is_pure_wildcard(const char *str); E uint32 str_is_ip(char *str); E int str_is_cidr(char *str, uint32 * ip, uint32 * mask, char **host); +/**** modes.cpp ****/ +E std::bitset<128> DefMLockOn; +E std::bitset<128> DefMLockOff; +E std::map<ChannelModeName, std::string> DefMLockParams; +E void SetDefaultMLock(); /**** modules.c ****/ E void modules_unload_all(bool unload_proto); /* Read warnings near function source */ |