$ git clone http://tcclient.ion.nu/tc_client.git
commit c731dd10591a5af1d0a3317f1e2b21942a325deb
Author: Alicia <...>
Date:   Sun Jul 5 05:23:12 2015 +0200

    Send account username in AMF0 "connect" command at startup regardless of whether we are modded or not, as is now required for non-mod accounts (contributed by Jade)

diff --git a/ChangeLog b/ChangeLog
index b650362..cd85e45 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)
+Send account username in AMF0 "connect" command at startup regardless of whether we are modded or not, as is now required for non-mod accounts (contributed by Jade)
 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)
diff --git a/client.c b/client.c
index ea2a63f..f0b5d2c 100644
--- a/client.c
+++ b/client.c
@@ -411,7 +411,7 @@ int main(int argc, char** argv)
   amfstring(&amf, modkey?modkey:"none");
   amfstring(&amf, "default"); // This item is called roomtype in the same HTTP response that gives us the server (IP+port) to connect to, but "default" seems to work fine too.
   amfstring(&amf, "tinychat");
-  amfstring(&amf, modkey?account_user:"");
+  amfstring(&amf, account_user?account_user:"");
   amfstring(&amf, "");
   amfstring(&amf, cookie);
   amfsend(&amf, sock);