aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp
index b7dec41..bfa7880 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -92,6 +92,7 @@ void Bu::Server::scan()
92 if( !pClient->isOpen() ) 92 if( !pClient->isOpen() )
93 { 93 {
94 onClosedConnection( pClient ); 94 onClosedConnection( pClient );
95 pClient->close();
95 hClients.erase( j ); 96 hClients.erase( j );
96 FD_CLR( j, &fdActive ); 97 FD_CLR( j, &fdActive );
97 } 98 }