]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socketengine.cpp
* Fixed bug in m_banredirect where removing a ban on a channel with maxbans set would...
[user/henk/code/inspircd.git] / src / socketengine.cpp
index 3aef464e6c6dc367aa49c6d71596c308cd61fa87..28ba8c25215c3d2921d909f219dc8ae026d617ab 100644 (file)
@@ -93,24 +93,10 @@ std::string SocketEngine::GetName()
 
 bool SocketEngine::BoundsCheckFd(EventHandler* eh)
 {       
-#ifdef WINDOWS
-       int * internal_fd;
-       if(!eh || eh->GetFd() < 0)
-               return false;
-
-       if(!eh->GetExt("internal_fd", internal_fd))
-               return false;
-
-       if(*internal_fd > MAX_DESCRIPTORS)
-               return false;
-
-       return true;
-#else
        if (!eh)
                return false;
        if ((eh->GetFd() < 0) || (eh->GetFd() > MAX_DESCRIPTORS))
                return false;
        return true;
-#endif
 }