Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Fri, 28 Apr 2000 15:34:34 +0000 (15:34 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Fri, 28 Apr 2000 15:34:34 +0000 (15:34 +0000)
Log message:

Fix bug in server_estab

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

ChangeLog
ircd/s_serv.c

index a9f31a59ac35e60a47c8c86b96b50e85591c1bc6..58e11b5851790017788478079e30d92481af6c79 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-04-28  Kevin L. Mitchell  <klmitch@mit.edu>
 
+       * ircd/s_serv.c (server_estab): SERVER should come from
+       acptr->serv->up, not &me
+
        * ircd/m_lusers.c: accidentally left out sptr for a %C
 
        * ircd/send.c: hack to support doing wallchops...
 #
 # ChangeLog for ircu2.10.11
 #
-# $Id: ChangeLog,v 1.109 2000-04-28 15:10:14 kev Exp $
+# $Id: ChangeLog,v 1.110 2000-04-28 15:34:34 kev Exp $
 #
 # Insert new changes at beginning of the change list.
 #
index 870b2e4381e30e56931efc8c33cb690dc899dcdb..cd7e82627ee4600d899509e59aa2c572e39f4947 100644 (file)
@@ -229,10 +229,10 @@ int server_estab(struct Client *cptr, struct ConfItem *aconf)
       split = (MyConnect(acptr) && 
                0 != ircd_strcmp(acptr->name, acptr->sockhost) &&
                0 != ircd_strncmp(acptr->info, "JUPE", 4));
-      sendcmdto_one(&me, CMD_SERVER, cptr, "%s %d 0 %Tu %s%u %s%s 0 :%s",
-                   acptr->name, acptr->hopcount + 1, acptr->serv->timestamp,
-                   protocol_str, Protocol(acptr), NumServCap(acptr),
-                   acptr->info);
+      sendcmdto_one(acptr->serv->up, CMD_SERVER, cptr, "%s %d 0 %Tu %s%u "
+                   "%s%s 0 :%s", acptr->name, acptr->hopcount + 1,
+                   acptr->serv->timestamp, protocol_str, Protocol(acptr),
+                   NumServCap(acptr), acptr->info);
     }
   }