diff options
| author | 2004-04-06 18:39:41 +0000 | |
|---|---|---|
| committer | 2004-04-06 18:39:41 +0000 | |
| commit | 32aa3afffaee0aabfd2aa295ae029af8cddba472 (patch) | |
| tree | e8d095a5df63c4c6475c99c0257e87c6eb52e3b2 /src/inspircd.cpp | |
| parent | Fixed to allow gay scripts like invision to send duff commands (why i do this... (diff) | |
| download | inspircd++-32aa3afffaee0aabfd2aa295ae029af8cddba472.tar.gz inspircd++-32aa3afffaee0aabfd2aa295ae029af8cddba472.tar.bz2 inspircd++-32aa3afffaee0aabfd2aa295ae029af8cddba472.zip | |
Fixed error where ircd would crash if user's quit message was 'Client exited' and it wasnt ircd generated
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@406 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index f0c2d20e6..214cb969c 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -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; |
