diff options
author | Adam <Adam@anope.org> | 2010-09-09 23:43:11 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-09-09 23:43:11 -0400 |
commit | 46813ccb8c6ab572b8a9ff0a39afb1d92dc4482b (patch) | |
tree | 562da502a102230ce207bbe921fdc978ee71e20c /src/init.cpp | |
parent | fdd196e50b4616ac377bd0ee0ae5ce6c57b657ee (diff) |
Added an asynchronous DNS system and m_dnsbl, which checks clients against DNS blacklists.
Rewrote internal handling of IPs, we now properly support users using IPv6.
Fixed a few problems with the UnrealIRCd protocol module.
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index aae8e9eb2..c91cc3b31 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -373,6 +373,15 @@ void Init(int ac, char **av) if (ModuleManager::LoadModule(Config->SocketEngine, NULL)) throw FatalException("Unable to load socket engine " + Config->SocketEngine); + try + { + DNSEngine = new DNSManager(); + } + catch (const SocketException &ex) + { + throw FatalException(ex.GetReason()); + } + /* Add Core MSG handles */ moduleAddMsgs(); |