]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspsocket.cpp
Swap around ERROR and SNONOTICE in SendError() so that the server doesnt try and...
[user/henk/code/inspircd.git] / src / inspsocket.cpp
index e2a2ab8ee07b526d260adf4f5004eaef26515750..fb0b207b626863cffab1c91587eaedb51be4cfcf 100644 (file)
@@ -12,7 +12,6 @@
  */
 
 #include "socket.h"
-#include "configreader.h"
 #include "inspstring.h"
 #include "socketengine.h"
 #include "inspircd.h"
@@ -303,6 +302,8 @@ bool InspSocket::DoConnect()
                }
        }
 
+       Instance->SE->NonBlocking(this->fd);
+
 #ifdef WIN32
        /* UGH for the LOVE OF ZOMBIE JESUS SOMEONE FIX THIS!!!!!!!!!!! */
        Instance->SE->Blocking(this->fd);