]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
Found some more for #3973
authorBram Matthys <redacted>
Fri, 7 Sep 2018 10:07:09 +0000 (12:07 +0200)
committerBram Matthys <redacted>
Fri, 7 Sep 2018 10:07:09 +0000 (12:07 +0200)
src/ircd.c
src/send.c

index 6b64a5bf4e618b045368e6baeb75790374ff3380..93c0eb35757e0c9b0eb26fc744f78a19394224de 100644 (file)
@@ -588,7 +588,7 @@ int check_ping(aClient *cptr)
                        IsHandshake(cptr)
                        || IsSSLConnectHandshake(cptr)
                        ) {
-                       sendto_realops
+                       sendto_ops_and_log
                                ("No response from %s, closing link",
                                get_client_name(cptr, FALSE));
                        sendto_server(&me, 0, 0,
index 068e0f4327bb62d22e28d77a8fbc6b9964da9179..2b546ccd75de1707cc7f5941b0820270ad2ed62e 100644 (file)
@@ -87,8 +87,8 @@ int dead_link(aClient *to, char *notice)
                return -1; /* don't overwrite & don't send multiple times */
        
        if (!IsPerson(to) && !IsUnknown(to) && !(to->flags & FLAGS_CLOSING))
-               sendto_umode(UMODE_OPER, "Closing link: %s - %s",
-                       notice, get_client_name(to, FALSE));
+               sendto_ops_and_log("Link to server %s (%s) closed: %s",
+                       to->name, to->ip?to->ip:"<no-ip>", notice);
        Debug((DEBUG_ERROR, "dead_link: %s - %s", notice, get_client_name(to, FALSE)));
        to->local->error_str = strdup(notice);
        return -1;