Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Tue, 24 Apr 2001 01:17:14 +0000 (01:17 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Tue, 24 Apr 2001 01:17:14 +0000 (01:17 +0000)
Log message:

I noticed that the netsplit server notice used comment1 instead of refering
to the servers directly, with the anticipated--and confusing--results.  Now
fixed.

(pull-up from u2.10.10.pl14)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@438 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/s_misc.c

index b371124b14fd226eb298ea557ea34d90fc86c978..7a8e2112323d782779a91d004e1cf2a7fe9f51d9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-04-23  Kevin L. Mitchell  <klmitch@mit.edu>
 
+       * ircd/s_misc.c (exit_client): make netsplit server notice say the
+       right thing
+
        * ircd/m_links.c (m_links_redirect): forward-port RPL_ENDOFLINKS
        change to make Khaled happy...
 
index a21707544bef90f899b106f03d1c3007ae30fc1a..aafdb25b348b00e9ba4eb227e921712e5df94d42 100644 (file)
@@ -462,8 +462,8 @@ int exit_client(struct Client *cptr,    /* Connection being handled by
       sendto_opmask_butone(0, SNO_OLDSNO, "Received SQUIT %s from %s :",
                           cli_name(victim), IsServer(killer) ? cli_name(killer) :
                           get_client_name(killer, HIDE_IP));
-    sendto_opmask_butone(0, SNO_NETWORK, "Net break: %s (%s)", comment1,
-                        comment);
+    sendto_opmask_butone(0, SNO_NETWORK, "Net break: %C %C (%s)",
+                        cli_serv(victim)->up, victim, comment);
   }
 
   /*