aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 2aed3dbb..ff38a353 100644
--- a/server.c
+++ b/server.c
@@ -281,7 +281,7 @@ server_send_exit(void)
if (c->flags & (CLIENT_BAD|CLIENT_SUSPENDED))
server_client_lost(c);
else
- server_write_client(c, MSG_EXIT, NULL, 0);
+ server_write_client(c, MSG_SHUTDOWN, NULL, 0);
c->session = NULL;
}