]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socketengine.cpp
Remove an extremely noisy piece of debug on startup/rehash - this code works fine...
[user/henk/code/inspircd.git] / src / socketengine.cpp
index a1e3a8ef0a4e268f99081baa6302c94ad21c3b39..0a071796480cf78d731b559bc2fb1022ee9a8397 100644 (file)
 #include "inspircd.h"
 #include "socketengine.h"
 
+EventHandler::EventHandler()
+{
+       this->IOHook = NULL;
+}
+
 bool EventHandler::AddIOHook(Module *IOHooker)
 {
        if (this->IOHook)
@@ -55,7 +60,7 @@ bool EventHandler::DelIOHook()
        if (!this->IOHook)
                return false;
 
-       this->IOHook = false;
+       this->IOHook = NULL;
        return true;
 }