Fix a stupid error, and two warnings.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10450 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
w00t 2008-09-07 18:31:25 +00:00
parent 6b5d7cbbca
commit f012abe490

View File

@ -47,14 +47,16 @@ bool EventHandler::AddIOHook(Module *IOHooker)
return false;
this->IOHook = IOHooker;
return true;
}
bool EventHandler::DelIOHook()
{
if (!this->IOHook)
return false
return false;
this->IOHook = false;
return true;
}
Module *EventHandler::GetIOHook()