summaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r--src/socketengine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp
index 74f8c1861..a1e3a8ef0 100644
--- a/src/socketengine.cpp
+++ b/src/socketengine.cpp
@@ -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()