diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-02 19:59:06 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-02 19:59:06 +0000 |
commit | 4d941f1b7ab853c7cfb014fb1436aac8e9397c0a (patch) | |
tree | 1161a1033c4bd16b4d58b2bcffd204c792a2ed1f /src/inspircd.cpp | |
parent | 4bc3065d05685e4413dcd9d9c99f3edf22385a57 (diff) |
Move more stuff into class DNS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4651 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 23a4bb496..bcd1614d3 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -817,11 +817,10 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) case X_ESTAB_DNS: /* Handles instances of the Resolver class, - * a simple class extended by modules for + * a simple class extended by modules and the core for * nonblocking resolving of addresses. */ - - dns_deal_with_classes(activefds[activefd]); + this->Res->MarshallReads(activefds[activefd]); break; case X_LISTEN: @@ -895,7 +894,7 @@ int InspIRCd::Run() { /* Until THIS point, ServerInstance == NULL */ - init_dns(); + this->Res = new DNS(); LoadAllModules(this); |