summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp5
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;