summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-02-02 03:20:58 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-02-02 03:20:58 +0000
commit122dcd082ae1ad01e953d0488f9fc41a4e0566a3 (patch)
tree2aaf07248f4307cd58a123dbd63cab8ae72031c7 /include
parentaa4b3e256377030d291fc2d5f4db94985ce04395 (diff)
Added options:botmodes to configure what modes BotServ bots should use in channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2778 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h2
-rw-r--r--include/extern.h2
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 ****/