372 |
|
if (!newts && !isnew && oldts) |
373 |
|
{ |
374 |
|
sendto_channel_local(ALL_MEMBERS, NO, chptr, |
375 |
< |
":%s NOTICE %s :*** Notice -- TS for %s changed from %lu to 0", |
376 |
< |
me.name, chptr->chname, chptr->chname, (unsigned long)oldts); |
375 |
> |
":%s NOTICE %s :*** Notice -- TS for %s changed from %lu to 0", |
376 |
> |
me.name, chptr->chname, chptr->chname, (unsigned long)oldts); |
377 |
|
sendto_realops_flags(UMODE_ALL, L_ALL, |
378 |
|
"Server %s changing TS on %s from %lu to 0", |
379 |
|
source_p->name, chptr->chname, (unsigned long)oldts); |
412 |
|
if (!keep_our_modes) |
413 |
|
{ |
414 |
|
remove_our_modes(chptr, source_p); |
415 |
+ |
|
416 |
+ |
if (chptr->topic) |
417 |
+ |
{ |
418 |
+ |
set_channel_topic(chptr, NULL, NULL, 0); |
419 |
+ |
chptr->topic_time = 0; |
420 |
+ |
sendto_channel_local(ALL_MEMBERS, NO, chptr, ":%s TOPIC %s :", |
421 |
+ |
(IsHidden(source_p) || |
422 |
+ |
ConfigServerHide.hide_servers) ? |
423 |
+ |
me.name : source_p->name, chptr->chname); |
424 |
+ |
} |
425 |
+ |
|
426 |
|
sendto_channel_local(ALL_MEMBERS, NO, chptr, |
427 |
|
":%s NOTICE %s :*** Notice -- TS for %s changed from %lu to %lu", |
428 |
|
me.name, chptr->chname, chptr->chname, |