summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-04 01:27:18 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-04 01:27:18 +0000
commit9f20b2f7dda30edd418e25af295deef279f2a2ad (patch)
treeca76a4ac05614f114951b371da696a7e6510ee91 /src/config.c
parentdf627065aca697addd21b23bee95958271655131 (diff)
Removed is_host_setter() and is_host_remover() from code and replaced them with opertype priv "hostserv/set", removed <hostserv:hostsetters> from configuration.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2260 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/config.c b/src/config.c
index 9db7fcc00..fe04e019c 100644
--- a/src/config.c
+++ b/src/config.c
@@ -66,10 +66,6 @@ char *BotDBName;
char *OperDBName;
char *NewsDBName;
-static char *HostSetter;
-char **HostSetters;
-int HostNumber = 0; /* needs to be set to 0 */
-
bool NoBackupOkay;
bool StrictPasswords;
unsigned BadPassLimit;
@@ -892,7 +888,6 @@ int ServerConfig::Read(bool bail)
{"hostserv", "description", "vHost Service", new ValueContainerChar(&desc_HostServ), DT_CHARPTR | DT_NORELOAD, ValidateHostServ},
{"hostserv", "database", "hosts.db", new ValueContainerChar(&HostDBName), DT_CHARPTR, ValidateHostServ},
{"hostserv", "modules", "", new ValueContainerChar(&HostCoreModules), DT_CHARPTR, NoValidation},
- {"hostserv", "hostsetters", "", new ValueContainerChar(&HostSetter), DT_CHARPTR, NoValidation},
{"operserv", "nick", "OperServ", new ValueContainerChar(&s_OperServ), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty},
{"operserv", "description", "Operator Service", new ValueContainerChar(&desc_OperServ), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty},
{"operserv", "globalnick", "Global", new ValueContainerChar(&s_GlobalNoticer), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty},
@@ -1788,9 +1783,6 @@ int read_config(int reload)
} while ((s = strtok(NULL, " ")));
}
- /* Host Setters building... :P */
- HostSetters = buildStringList(HostSetter ? HostSetter : "", &HostNumber);
-
/* Modules Autoload building... :P */
ModulesAutoload = buildStringList(Modules, &ModulesNumber);
HostServCoreModules =