/[svn]/ircd-hybrid-7.2/modules/m_tburst.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/modules/m_tburst.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 395 by michael, Fri Feb 3 17:39:45 2006 UTC revision 885 by michael, Wed Oct 31 18:09:24 2007 UTC
# Line 151  ms_tburst(struct Client *client_p, struc Line 151  ms_tburst(struct Client *client_p, struc
151     * Always propagate what we have received, not only if we accept the topic.     * Always propagate what we have received, not only if we accept the topic.
152     * This will keep other servers in sync.     * This will keep other servers in sync.
153     */     */
154    sendto_server(source_p, NULL, chptr, CAP_TBURST, NOCAPS, NOFLAGS,    sendto_server(source_p, chptr, CAP_TBURST, NOCAPS,
155                  ":%s TBURST %s %s %s %s :%s",                  ":%s TBURST %s %s %s %s :%s",
156                  source_p->name, parv[1], parv[2], parv[3], setby, topic);                  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 */    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,      sendto_server(source_p, chptr, CAP_TB, CAP_TBURST,
159                    ":%s TB %s %s %s :%s",                    ":%s TB %s %s %s :%s",
160                    source_p->name, parv[1], parv[2], setby, topic);                    source_p->name, parv[1], parv[2], setby, topic);
161  }  }
# Line 222  set_topic(struct Client *source_p, struc Line 222  set_topic(struct Client *source_p, struc
222                           ConfigServerHide.hide_servers ? me.name : source_p->name,                           ConfigServerHide.hide_servers ? me.name : source_p->name,
223                           chptr->chname, chptr->topic == NULL ? "" : chptr->topic);                           chptr->chname, chptr->topic == NULL ? "" : chptr->topic);
224    
225    sendto_server(source_p, NULL, chptr, CAP_TBURST, NOCAPS, NOFLAGS,    sendto_server(source_p, chptr, CAP_TBURST, NOCAPS,
226                  ":%s TBURST %lu %s %lu %s :%s",                  ":%s TBURST %lu %s %lu %s :%s",
227                  me.name, (unsigned long)chptr->channelts, chptr->chname,                  me.name, (unsigned long)chptr->channelts, chptr->chname,
228                  (unsigned long)chptr->topic_time,                  (unsigned long)chptr->topic_time,
229                  chptr->topic_info == NULL ? "" : chptr->topic_info,                  chptr->topic_info == NULL ? "" : chptr->topic_info,
230                  chptr->topic == NULL ? "" : chptr->topic);                  chptr->topic == NULL ? "" : chptr->topic);
231    sendto_server(source_p, NULL, chptr, CAP_TB, CAP_TBURST, NOFLAGS,    sendto_server(source_p, chptr, CAP_TB, CAP_TBURST,
232                  ":%s TB %s %lu %s :%s",                  ":%s TB %s %lu %s :%s",
233                  me.name, chptr->chname,                  me.name, chptr->chname,
234                  (unsigned long)chptr->topic_time,                  (unsigned long)chptr->topic_time,

Legend:
Removed from v.395  
changed lines
  Added in v.885

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26