diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 61c59a6b5..66f15e872 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -240,6 +240,7 @@ InspIRCd::InspIRCd(int argc, char** argv) { this->Start(); module_sockets.clear(); + init_dns(); this->startup_time = time(NULL); srand(time(NULL)); log(DEBUG,"*** InspIRCd starting up!"); @@ -836,6 +837,15 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) #endif break; + case X_ESTAB_CLASSDNS: + /* Handles instances of the Resolver class, + * a simple class extended by modules for + * nonblocking resolving of addresses. + */ + + dns_deal_with_classes(activefds[activefd]); + break; + case X_LISTEN: log(DEBUG,"Type: X_LISTEN_MODULE: fd=%d",activefds[activefd]); |