]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Send ssld error netwide if it was a remote connect and a handshake.
authorJilles Tjoelker <redacted>
Sun, 29 Jun 2008 20:02:32 +0000 (22:02 +0200)
committerJilles Tjoelker <redacted>
Sun, 29 Jun 2008 20:02:32 +0000 (22:02 +0200)
src/sslproc.c

index d4f1bba9b4f6c30694a3a52cae4167693bb73cce..e08a1b8999c0fdd735b343c5dd3f3fb460451009 100644 (file)
@@ -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);
 }