mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
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:
parent
6b5d7cbbca
commit
f012abe490
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user