]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix a stupid error, and two warnings.
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 7 Sep 2008 18:31:25 +0000 (18:31 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 7 Sep 2008 18:31:25 +0000 (18:31 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10450 e03df62e-2008-0410-955e-edbf42e46eb7

src/socketengine.cpp

index 74f8c18617a464b667430ba3fa46513d12d283a8..a1e3a8ef0a4e268f99081baa6302c94ad21c3b39 100644 (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()