151 |
|
* Always propagate what we have received, not only if we accept the topic. |
152 |
|
* This will keep other servers in sync. |
153 |
|
*/ |
154 |
< |
sendto_server(source_p, NULL, chptr, CAP_TBURST, NOCAPS, NOFLAGS, |
154 |
> |
sendto_server(source_p, chptr, CAP_TBURST, NOCAPS, |
155 |
|
":%s TBURST %s %s %s %s :%s", |
156 |
|
source_p->name, parv[1], parv[2], parv[3], setby, topic); |
157 |
|
if (parc > 5 && *topic != '\0') /* unsetting a topic is not supported by TB */ |
158 |
< |
sendto_server(source_p, NULL, chptr, CAP_TB, CAP_TBURST, NOFLAGS, |
158 |
> |
sendto_server(source_p, chptr, CAP_TB, CAP_TBURST, |
159 |
|
":%s TB %s %s %s :%s", |
160 |
|
source_p->name, parv[1], parv[2], setby, topic); |
161 |
|
} |
222 |
|
ConfigServerHide.hide_servers ? me.name : source_p->name, |
223 |
|
chptr->chname, chptr->topic == NULL ? "" : chptr->topic); |
224 |
|
|
225 |
< |
sendto_server(source_p, NULL, chptr, CAP_TBURST, NOCAPS, NOFLAGS, |
225 |
> |
sendto_server(source_p, chptr, CAP_TBURST, NOCAPS, |
226 |
|
":%s TBURST %lu %s %lu %s :%s", |
227 |
|
me.name, (unsigned long)chptr->channelts, chptr->chname, |
228 |
|
(unsigned long)chptr->topic_time, |
229 |
|
chptr->topic_info == NULL ? "" : chptr->topic_info, |
230 |
|
chptr->topic == NULL ? "" : chptr->topic); |
231 |
< |
sendto_server(source_p, NULL, chptr, CAP_TB, CAP_TBURST, NOFLAGS, |
231 |
> |
sendto_server(source_p, chptr, CAP_TB, CAP_TBURST, |
232 |
|
":%s TB %s %lu %s :%s", |
233 |
|
me.name, chptr->chname, |
234 |
|
(unsigned long)chptr->topic_time, |