summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp
index b18c2732f..d94656165 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -451,7 +451,7 @@ void NetworkClose(bool close_admins)
if (close_admins) {
ServerNetworkAdminSocketHandler *as;
FOR_ALL_ADMIN_SOCKETS(as) {
- as->CloseConnection(NETWORK_RECV_STATUS_CONN_LOST);
+ as->CloseConnection(true);
}
}