summary refs log tree commit diff
path: root/contrib/palaver/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/palaver/notify.c')
-rw-r--r--contrib/palaver/notify.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/palaver/notify.c b/contrib/palaver/notify.c
index 7ca650d..2d2d0bb 100644
--- a/contrib/palaver/notify.c
+++ b/contrib/palaver/notify.c
@@ -537,8 +537,10 @@ static void jsonBody(
 	fprintf(file, "{\"badge\":%d", badge);
 	fprintf(file, ",\"sender\":");
 	jsonString(file, msg->nick);
-	fprintf(file, ",\"channel\":");
-	jsonString(file, msg->params[0]);
+	if (strcmp(msg->params[0], nick)) {
+		fprintf(file, ",\"channel\":");
+		jsonString(file, msg->params[0]);
+	}
 	if (network) {
 		fprintf(file, ",\"network\":");
 		jsonString(file, network);
p;id=0e138b6a3d3fb41c5915ddf1b327fc6f28e074a6&follow=1'>Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe