summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8a13e4e)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11884
e03df62e-2008-0410-955e-
edbf42e46eb7
ModPath = options->getString("moduledir", MOD_PATH);
NetBufferSize = ConfValue("performance")->getInt("netbuffersize", 10240);
MaxWhoResults = ConfValue("performance")->getInt("maxwho", 1024);
ModPath = options->getString("moduledir", MOD_PATH);
NetBufferSize = ConfValue("performance")->getInt("netbuffersize", 10240);
MaxWhoResults = ConfValue("performance")->getInt("maxwho", 1024);
- DNSServer = ConfValue("dns")->getString("server");
dns_timeout = ConfValue("dns")->getInt("timeout", 5);
DisabledCommands = ConfValue("disabled")->getString("commands", "");
DisabledDontExist = ConfValue("disabled")->getBool("fakenonexistant");
dns_timeout = ConfValue("dns")->getInt("timeout", 5);
DisabledCommands = ConfValue("disabled")->getString("commands", "");
DisabledDontExist = ConfValue("disabled")->getBool("fakenonexistant");
{
/* Load and parse the config file, if there are any errors then explode */
{
/* Load and parse the config file, if there are any errors then explode */
- if (!this->DoInclude(ServerInstance->ConfigFileName, true))
+ valid = DoInclude(ServerInstance->ConfigFileName, true);
+ if (valid)
- valid = false;
- return;
+ ReadFile(MOTD, ConfValue("files")->getString("motd"));
+ ReadFile(RULES, ConfValue("files")->getString("rules"));
+ DNSServer = ConfValue("dns")->getString("server");
+ FindDNS(DNSServer);
{
Config = new ServerConfig;
Config->Read();
{
Config = new ServerConfig;
Config->Read();
- Config->ReadFile(Config->MOTD, Config->ConfValue("files")->getString("motd"));
- Config->ReadFile(Config->RULES, Config->ConfValue("files")->getString("rules"));
- FindDNS(Config->DNSServer);
-