$ git clone http://tcclient.ion.nu/tc_client.git
commit e7fbdb0d018231af82933e5166ef21a205ce501e
Author: Alicia <...>
Date: Sun Jul 5 04:11:46 2015 +0200
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)
diff --git a/ChangeLog b/ChangeLog
index c817e64..b650362 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
0.35:
Adjusted for tinychat authentication changes (both for joining the channel and to use moderator accounts)
+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)
0.34:
Fixed memory alignment in rtmp/amf code (for CPU architectures that are picky about it)
Print version info when called with -v/--version (contributed by Jade)
diff --git a/utilities/irchack/irchack.c b/utilities/irchack/irchack.c
index e50835b..a78cb32 100644
--- a/utilities/irchack/irchack.c
+++ b/utilities/irchack/irchack.c
@@ -86,6 +86,7 @@ extern char session(int sock, const char* nick, const char* channel, const char*
int main(int argc, char** argv)
{
+ if(!strncmp(argv[0], "./", 2)){frombuild=1;}
int port=(argc>1?atoi(argv[1]):6667);
struct sockaddr_in addr;
memset(&addr, 0, sizeof(addr));