*** channel.c-old Thu Apr 11 21:10:40 1996 --- channel.c Fri May 16 07:54:43 1997 *************** *** 648,653 **** --- 648,655 ---- channel_modes(sptr, modebuf, parabuf, chptr); sendto_one(sptr, rpl_str(RPL_CHANNELMODEIS), me.name, parv[0], chptr->chname, modebuf, parabuf); + sendto_one(sptr, rpl_str(RPL_CREATIONTIME), me.name, parv[0], + chptr->chname, chptr->channelts); return 0; } mcount = set_mode(cptr, sptr, chptr, parc - 2, parv + 2, *************** *** 1515,1523 **** me.name, chptr->channelts, name, parv[0]); } else ! sendto_match_servs(chptr, cptr, ":%s JOIN :%s", parv[0], ! name); /* ** notify all other users on the new channel */ --- 1517,1535 ---- me.name, chptr->channelts, name, parv[0]); } + else if (MyClient(sptr)) + { + sendto_match_TS_servs(0, chptr, cptr, ":%s JOIN :%s", + parv[0], name); + sendto_match_TS_servs(1, chptr, cptr, + ":%s SJOIN %ld %s + :%s", me.name, + chptr->channelts, name, parv[0]); + } else ! sendto_match_servs(chptr, cptr, ":%s JOIN :%s", parv[0], ! name); ! ! /* ** notify all other users on the new channel */