mirror of
https://github.com/anope/anope.git
synced 2026-07-02 16:13:12 +02:00
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.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user