$ git clone http://tcclient.ion.nu/tc_client.git
Author: Alicia <...>
Date: Fri Aug 7 16:31:41 2015 +0200
irchack: respond to pings while waiting for the captcha.
diff --git a/ChangeLog b/ChangeLog
index 0cf123a..8b0c56b 100644
@@ -4,6 +4,7 @@ Send account username in AMF0 "connect" command at startup regardless of whether
If an RTMP chunk already has a buffer allocated when a packet sets the length, free it and start over.
Added support for captchas.
irchack: added a check for whether tc_client is installed or should be run from the source directory (should have been added along with the 'install' target)
+irchack: respond to pings while waiting for the captcha.
tc_client-gtk and camviewer: added support for captchas.
tc_client-gtk: made the pane handles between cams, chat, and userlist wide (contributed by David Kreuter)
irchack: added support for captchas.
diff --git a/utilities/irchack/irchack.c b/utilities/irchack/irchack.c
index 932df6b..364757d 100644
@@ -263,6 +263,10 @@ printf("Got from tc_client: '%s'\n", buf);
write(tc_in, "\n", 1);
+ else if(!strncasecmp(buf, "PING ", 5))
+ dprintf(sock, ":irchack PONG %s\n", &buf);