diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-07 18:31:25 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-07 18:31:25 +0000 |
commit | f012abe4908f9ce16435b42c8c3521b50b1a1f6b (patch) | |
tree | 7422136f4c450a158354a147cde5a68ec8d4c052 /src/socketengine.cpp | |
parent | 6b5d7cbbca7dd121c0dca2acc054505420a3c765 (diff) |
Fix a stupid error, and two warnings.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10450 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r-- | src/socketengine.cpp | 4 |
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() |