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 f822bb90..8664bd06 100644
--- a/server.c
+++ b/server.c
@@ -282,7 +282,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;
}