summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {