237 |
chptr->mode.mode |= MODE_TOPICLIMIT; |
chptr->mode.mode |= MODE_TOPICLIMIT; |
238 |
chptr->mode.mode |= MODE_NOPRIVMSGS; |
chptr->mode.mode |= MODE_NOPRIVMSGS; |
239 |
|
|
240 |
sendto_server(client_p, source_p, chptr, CAP_TS6, NOCAPS, LL_ICLIENT, |
sendto_server(client_p, source_p, chptr, CAP_TS6, NOCAPS, |
241 |
":%s SJOIN %lu %s +nt :@%s", |
":%s SJOIN %lu %s +nt :@%s", |
242 |
me.id, (unsigned long)chptr->channelts, |
me.id, (unsigned long)chptr->channelts, |
243 |
chptr->chname, source_p->id); |
chptr->chname, source_p->id); |
244 |
sendto_server(client_p, source_p, chptr, NOCAPS, CAP_TS6, LL_ICLIENT, |
sendto_server(client_p, source_p, chptr, NOCAPS, CAP_TS6, |
245 |
":%s SJOIN %lu %s +nt :@%s", |
":%s SJOIN %lu %s +nt :@%s", |
246 |
me.name, (unsigned long)chptr->channelts, |
me.name, (unsigned long)chptr->channelts, |
247 |
chptr->chname, parv[0]); |
chptr->chname, source_p->name); |
248 |
/* |
/* |
249 |
* notify all other users on the new channel |
* notify all other users on the new channel |
250 |
*/ |
*/ |
256 |
} |
} |
257 |
else |
else |
258 |
{ |
{ |
259 |
sendto_server(client_p, source_p, chptr, CAP_TS6, NOCAPS, LL_ICLIENT, |
sendto_server(client_p, source_p, chptr, CAP_TS6, NOCAPS, |
260 |
":%s JOIN %lu %s +", |
":%s JOIN %lu %s +", |
261 |
source_p->id, (unsigned long)chptr->channelts, |
source_p->id, (unsigned long)chptr->channelts, |
262 |
chptr->chname); |
chptr->chname); |
263 |
sendto_server(client_p, source_p, chptr, NOCAPS, CAP_TS6, LL_ICLIENT, |
sendto_server(client_p, source_p, chptr, NOCAPS, CAP_TS6, |
264 |
":%s SJOIN %lu %s + :%s", |
":%s SJOIN %lu %s + :%s", |
265 |
me.name, (unsigned long)chptr->channelts, |
me.name, (unsigned long)chptr->channelts, |
266 |
chptr->chname, source_p->name); |
chptr->chname, source_p->name); |