summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c
index 9be5a62..45ab179 100644
--- a/client.c
+++ b/client.c
@@ -209,6 +209,7 @@ static void handlePrivmsg(struct Client *client, struct Message *msg) {
 	size_t diff = ringDiff(client->consumer);
 	ringProduce(line);
 	if (!diff) ringConsume(NULL, client->consumer);
+	if (!strcmp(msg->params[0], stateNick())) return;
 
 	serverFormat("%s %s :%s\r\n", msg->cmd, msg->params[0], msg->params[1]);
 }
span>Link with -lcursesJune McEnroe 2018-07-22Fix scheme indentationJune McEnroe 2018-07-16Add -m option to glitchJune McEnroe 2018-07-16malloc deflate buffer in glitchJune McEnroe 2018-07-16malloc the deflate buffer in pngoJune McEnroe 2018-07-05Add shed bloodJune McEnroe