diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/configreader.h | 2 | ||||
| -rw-r--r-- | include/extern.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h index c9db6cb89..a22736463 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -481,6 +481,8 @@ class ServerConfig unsigned NewsCount; /* Default mlock modes */ std::string MLock; + /* Default botmodes on channels, defaults to ao */ + std::string BotModes; /* Services can use email */ bool UseMail; diff --git a/include/extern.h b/include/extern.h index 21b7bdb81..6c147897a 100644 --- a/include/extern.h +++ b/include/extern.h @@ -355,6 +355,8 @@ E int str_is_cidr(char *str, uint32 * ip, uint32 * mask, char **host); E std::bitset<128> DefMLockOn; E std::bitset<128> DefMLockOff; E std::map<ChannelModeName, std::string> DefMLockParams; +/* Modes to set on bots when they join the channel */ +E std::list<ChannelModeStatus *> BotModes; E void SetDefaultMLock(); /**** modules.c ****/ |
