From: Kevin L. Mitchell Date: Fri, 28 Apr 2000 15:34:34 +0000 (+0000) Subject: Author: Kev X-Git-Url: http://git.pk910.de/?a=commitdiff_plain;h=be14f70846b1fc93dc5424a91fbaf0c5034b924b;p=ircu2.10.12-pk.git Author: Kev 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 --- diff --git a/ChangeLog b/ChangeLog index a9f31a5..58e11b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-04-28 Kevin L. Mitchell + * 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... @@ -944,7 +947,7 @@ # # 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. # diff --git a/ircd/s_serv.c b/ircd/s_serv.c index 870b2e4..cd7e826 100644 --- a/ircd/s_serv.c +++ b/ircd/s_serv.c @@ -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); } }