ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_tburst.c
(Generate patch)

Comparing ircd-hybrid-7.2/modules/m_tburst.c (file contents):
Revision 395 by michael, Fri Feb 3 17:39:45 2006 UTC vs.
Revision 885 by michael, Wed Oct 31 18:09:24 2007 UTC

# Line 151 | Line 151 | ms_tburst(struct Client *client_p, struc
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   }
# Line 222 | Line 222 | set_topic(struct Client *source_p, struc
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,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines