]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/dns.cpp
*slaps self* for not test compiling
[user/henk/code/inspircd.git] / src / dns.cpp
index 66c0d8085ed7e7a0708c680f6073035414e61ee7..5d830d0de0418fd0282e5f3fd10bd8760a68e502 100644 (file)
@@ -257,6 +257,8 @@ void DNS::Rehash()
 
        if (this->GetFd() > -1)
        {
+               if (ServerInstance && ServerInstance->SE)
+                       ServerInstance->SE->DelFd(this);
                shutdown(this->GetFd(), 2);
                close(this->GetFd());
                this->SetFd(-1);