]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixed error where ircd would crash if user's quit message was 'Client exited' and...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 6 Apr 2004 18:39:41 +0000 (18:39 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 6 Apr 2004 18:39:41 +0000 (18:39 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@406 e03df62e-2008-0410-955e-edbf42e46eb7

src/inspircd.cpp

index f0c2d20e617d2f236cb474110c58d3335212fda7..214cb969c305728cce8f10369a872ac5f579d87f 100644 (file)
@@ -3184,10 +3184,7 @@ void kill_link(userrec *user,const char* r)
         * 'Client exited' is an exception to this as it means the client side has already
         * closed the socket, we don't need to do it.
         */
-       if (strcmp(reason,"Client exited"))
-       {
-               fd_reap.push_back(user->fd);
-       }
+       fd_reap.push_back(user->fd);
        
        bool do_purge = false;