summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2023-08-09 02:36:06 -0400
committerTest_User <hax@andrewyu.org>2023-08-09 02:36:06 -0400
commit23003e705b1818d647a89ed415ced1d199561cca (patch)
tree198ba05d4dfb1da8ca6490e337d01a9638d01e32
parent47f13a5a5c06fcdf9513dda9973ad3b117c3c30f (diff)
downloadcoupserv-23003e705b1818d647a89ed415ced1d199561cca.tar.gz
coupserv-23003e705b1818d647a89ed415ced1d199561cca.zip
I said to do it the other way... and I didn't do it... and what a surprise, it broke because of it
-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);