summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index ffcb556..b0c94a8 100644
--- a/main.c
+++ b/main.c
@@ -210,8 +210,8 @@ void *client_loop(void *ign) {
disconnect_client:
if (client_connected) {
SEND(STRING(":1HC000001 QUIT :Ping timeout: -240 seconds\n"));
- remove_user(STRING("1HC000001"), STRING("Ping timeout: -240 seconds\n"));
client_connected = 0;
+ remove_user(STRING("1HC000001"), STRING("Ping timeout: -240 seconds\n"));
}
close(client_fd);