$ git clone http://tcclient.ion.nu/tc_client.git
commit 17b411d1f98d3c1ee423f654343a6f6881018ef2
Author: Alicia <...>
Date:   Fri May 15 20:22:55 2015 +0200

    When a message is sent with a privacy field, send it once with 'b' (broadcasting) and once with 'n' (not-broadcasting)

diff --git a/ChangeLog b/ChangeLog
index b5d80ac..6336fa9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 0.31:
 Fixed the issue where messages would show up on kanji on some platforms (a proper fix instead of the earlier android & apple workaround)
+When a message is sent with a privacy field, send it once with 'b' (broadcasting) and once with 'n' (not-broadcasting)
 tc_client-gtk: added a margin to the autoscroll code, which should make scrolling work better when resizing the window or panes.
 tc_client-gtk: copied and adjusted the code for keeping track of our own nickname from cursedchat.
 modbot: added a little note about the video being pre-approved when requesting an already approved video.
diff --git a/client.c b/client.c
index f207e31..df33b0d 100644
--- a/client.c
+++ b/client.c
@@ -216,7 +216,7 @@ char* getprivfield(char* nick)
     return 0;
   }
   char* priv=malloc(snprintf(0, 0, "n%i-", id)+privlen+1);
-  sprintf(priv, "n%i-", id);
+  sprintf(priv, "n%i-", id); // 'n' for not-broadcasting
   strncat(priv, nick, privlen);
   return priv;
 }
@@ -638,6 +638,17 @@ int main(int argc, char** argv)
       if(privfield)
       {
         amfstring(&amf, privfield);
+        // And one in case they're broadcasting
+        privfield[0]='b'; // 'b' for broadcasting
+        struct rtmp bamf;
+        amfinit(&bamf, 3);
+        amfstring(&bamf, "privmsg");
+        amfnum(&bamf, 0);
+        amfnull(&bamf);
+        amfstring(&bamf, msg);
+        amfstring(&bamf, colors[currentcolor%COLORCOUNT]);
+        amfstring(&bamf, privfield);
+        amfsend(&bamf, sock);
         free(privfield);
       }
       amfsend(&amf, sock);