$ git clone http://tcclient.ion.nu/tc_client.git
commit 275db7be6ec5290e73495b002e99c6dd30f5bc63
Author: Alicia <...>
Date: Tue Nov 22 23:12:37 2016 +0100
irchack: pass along "<user> cammed up" notifications.
diff --git a/ChangeLog b/ChangeLog
index e50c604..11c3388 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@ tc_client-gtk: rewrote the audio mixer.
tc_client-gtk: display the channel name in the window title.
dist/appimage.sh: fix audio in appimages by building ffmpeg with support for nellymoser and speex, and depending on the system's libao and libpulse instead of including it in the appimage.
libcamera(escapi): handle failure to open camera more gracefully.
+irchack: pass along "<user> cammed up" notifications.
0.40:
Moved the backward compatibility code for avcodec_{send,receive}_{frame,packet} into a separate source file to avoid pulling libavcodec into utilities that don't use it.
Improved the RTMP acknowledgement code: counting the format 3 headers which were previously skipped, setting a more reasonable acknowledgement interval at startup and giving the server some margin before dropping outgoing video packets.
diff --git a/utilities/irchack/irchack.c b/utilities/irchack/irchack.c
index d6ba491..b8128ef 100644
--- a/utilities/irchack/irchack.c
+++ b/utilities/irchack/irchack.c
@@ -1,6 +1,6 @@
/*
irchack, a simple application to reuse IRC clients as user interfaces for tc_client
- Copyright (C) 2014-2015 alicia@ion.nu
+ Copyright (C) 2014-2016 alicia@ion.nu
Copyright (C) 2015 Jade Lea
This program is free software: you can redistribute it and/or modify
@@ -316,6 +316,12 @@ printf("Got from tc_client: '%s'\n", buf);
dprintf(sock, ":server 318 %s %s :End of /WHOIS list\n", nick, buf);
continue;
}
+ if(space && !strcmp(space, " cammed up"))
+ {
+ space[0]=0;
+ dprintf(sock, ":%s!user@host PRIVMSG #%s :\x01""ACTION %s\x01\n", buf, channel, &space[1]);
+ continue;
+ }
if(!strcmp(buf, "Banned users:"))
{
while(strncmp(buf, "Use /forgive ", 13))