summaryrefslogtreecommitdiff
path: root/blabouncer.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-05-21 20:50:31 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-05-21 20:50:31 +0100
commita9345b413f8c67dd8d6fcfd047a786e542202116 (patch)
tree9b1494069af65c86cc025e9e7761ee3cd9091030 /blabouncer.c
parent33f5a2c2f9eb4ff145df00944d8561fcf95866c7 (diff)
Don't send "new client has successfully authenticated" NOTICE to the client that has just connected.
Diffstat (limited to 'blabouncer.c')
-rw-r--r--blabouncer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/blabouncer.c b/blabouncer.c
index 520341d..eaa39c6 100644
--- a/blabouncer.c
+++ b/blabouncer.c
@@ -1243,8 +1243,8 @@ int processircmessage(SSL *server_ssl, char *str, int source, struct client *cli
fprintf(stderr, "Error while preparing authentication success NOTICE!\n");
exit(1);
}
- // "except" 0 since we trust this message
- sendtoallclients(clients, alertmsg, 0, settings);
+ // "except" the current fd - we can use this as "except/sourcefd" since we set them as authed just above
+ sendtoallclients(clients, alertmsg, sourcefd, settings);
}
}
} else {