diff options
Diffstat (limited to 'src/connectionhandler.cpp')
-rw-r--r-- | src/connectionhandler.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/connectionhandler.cpp b/src/connectionhandler.cpp index bf2e942b..8b4d7a9f 100644 --- a/src/connectionhandler.cpp +++ b/src/connectionhandler.cpp @@ -92,11 +92,6 @@ void ConnectionHandler::stopListen() // FIXME: memory leak on NetComputers } -void ConnectionHandler::forceDisconnect(NetComputer *comp) -{ - enet_peer_disconnect(comp->getPeer(), 0); // ENet should generate a disconnect event -} - void ConnectionHandler::flush() { enet_host_flush(host); |