]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Put back conditionally netwide ssld error snote.
authorJilles Tjoelker <redacted>
Tue, 2 Dec 2008 23:55:58 +0000 (00:55 +0100)
committerJilles Tjoelker <redacted>
Tue, 2 Dec 2008 23:55:58 +0000 (00:55 +0100)
src/sslproc.c

index 38273438ccee40802528e623ee9ead7ee6682b41..9d2f43f4fc4fc2d3ba624cf6104bd741ca3612e9 100644 (file)
@@ -379,7 +379,7 @@ ssl_process_dead_fd(ssl_ctl_t * ctl, ssl_ctl_buf_t * ctl_buf)
                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);
                ilog(L_SERVER, "ssld error for %s: %s", log_client_name(client_p, SHOW_IP), reason);
        }
        exit_client(client_p, client_p, &me, reason);