#include "inspircd.h"
#include "socketengine.h"
+EventHandler::EventHandler()
+{
+ this->IOHook = NULL;
+}
+
bool EventHandler::AddIOHook(Module *IOHooker)
{
if (this->IOHook)
if (!this->IOHook)
return false;
- this->IOHook = false;
+ this->IOHook = NULL;
return true;
}