ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/core/m_join.c
(Generate patch)

Comparing ircd-hybrid-7.2/modules/core/m_join.c (file contents):
Revision 855 by db, Mon Feb 26 22:06:45 2007 UTC vs.
Revision 873 by michael, Tue Oct 23 11:02:09 2007 UTC

# Line 372 | Line 372 | ms_join(struct Client *client_p, struct
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);
# Line 412 | Line 412 | ms_join(struct Client *client_p, struct
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,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines