From cd0ba90750e7e94183b4453d045d3ae7f1e45a49 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 29 Jun 2008 22:02:32 +0200 Subject: [PATCH] Send ssld error netwide if it was a remote connect and a handshake. --- src/sslproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sslproc.c b/src/sslproc.c index d4f1bba..e08a1b8 100644 --- a/src/sslproc.c +++ b/src/sslproc.c @@ -360,7 +360,7 @@ ssl_process_dead_fd(ssl_ctl_t *ctl, ssl_ctl_buf_t *ctl_buf) if(client_p == NULL) return; if(IsAnyServer(client_p)) - sendto_realops_snomask(SNO_GENERAL, L_ALL, "ssld error for %s: %s", client_p->name, reason); + sendto_realops_snomask(SNO_GENERAL, is_remote_connect(client_p) && !IsServer(client_p) ? L_NETWIDE : L_ALL, "ssld error for %s: %s", client_p->name, reason); exit_client(client_p, client_p, &me, reason); }