summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index f1a51bd..7ac886f 100644
--- a/main.c
+++ b/main.c
@@ -228,9 +228,9 @@ void *client_loop(void *ign) {
}
disconnect_client:
if (client_connected) {
- SEND(STRING(":1HC000001 QUIT :Ping timeout: -240 seconds\n"));
+ SEND(STRING(":"SID"000001 QUIT :Ping timeout: -240 seconds\n"));
client_connected = 0;
- remove_user(STRING("1HC000001"), STRING("Ping timeout: -240 seconds\n"));
+ remove_user(STRING(SID"000001"), STRING("Ping timeout: -240 seconds\n"));
}
close(client_fd);
@@ -260,7 +260,7 @@ int main(void) {
if (!timeout)
break;
- SEND(STRING(""));
+ SEND(STRING());
}
if (new_len == 0) {