diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2012-10-24 05:12:47 +0200 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2012-10-24 05:12:47 +0200 |
commit | ef5c6684c71fda6837f4d217d4f61bb418523047 (patch) | |
tree | 599dffcd828fc4a4213a7a2d2b17a449ed3c6e77 /src/config.cpp | |
parent | e0438e3a7ee3b7737f5138e7f43157b07479c824 (diff) | |
parent | 04632bd381796dd90742bbc6ccd38905d4de25be (diff) |
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp index 6347754fb..6dc19e83a 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -210,7 +210,7 @@ ServerConfig::ServerConfig() : config_data(), NSDefFlags(NickCoreFlagStrings), C } if (DNSEngine) DNSEngine->SetFlag(SF_DEAD); - DNSEngine = new DNSManager(this->NameServer, this->DNSPort); + DNSEngine = new DNSManager(this->NameServer, this->DNSIP, this->DNSPort); if (this->CaseMap == "ascii") Anope::casemap = std::locale(std::locale(), new Anope::ascii_ctype<char>()); @@ -1302,6 +1302,7 @@ ConfigItems::ConfigItems(ServerConfig *conf) {"mail", "memo_message", "", new ValueContainerString(&conf->MailMemoMessage), DT_STRING | DT_ALLOW_NEWLINE, ValidateMail}, {"dns", "nameserver", "127.0.0.1", new ValueContainerString(&conf->NameServer), DT_STRING, NoValidation}, {"dns", "timeout", "5", new ValueContainerTime(&conf->DNSTimeout), DT_TIME, NoValidation}, + {"dns", "ip", "0.0.0.0", new ValueContainerString(&conf->DNSIP), DT_STRING, NoValidation}, {"dns", "port", "53", new ValueContainerInt(&conf->DNSPort), DT_INTEGER, NoValidation}, {"chanserv", "name", "", new ValueContainerString(&conf->ChanServ), DT_STRING, NoValidation}, {"chanserv", "defaults", "keeptopic secure securefounder signkick", new ValueContainerString(&CSDefaults), DT_STRING, ValidateChanServ}, |