From 122dcd082ae1ad01e953d0488f9fc41a4e0566a3 Mon Sep 17 00:00:00 2001 From: Adam- Date: Tue, 2 Feb 2010 03:20:58 +0000 Subject: 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 --- include/configreader.h | 2 ++ include/extern.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'include') 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 DefMLockParams; +/* Modes to set on bots when they join the channel */ +E std::list BotModes; E void SetDefaultMLock(); /**** modules.c ****/ -- cgit