Forward port of asuka-topicburst.patch from Quakenet's "Asuka" patch
[ircu2.10.12-pk.git] / ircd / channel.c
index 00e4fd9eefd7d22b06ef71de561deaa21793b985..9e7c258419814d3399b44d1cf638812a753921d8 100644 (file)
@@ -1017,6 +1017,9 @@ void send_channel_modes(struct Client *cptr, struct Channel *chptr)
                                  that didn't fit (full==1) */
   if (opped_members)
     MyFree(opped_members);
+  if (feature_bool(FEAT_TOPIC_BURST) && (chptr->topic[0] != '\0'))
+      sendcmdto_one(&me, CMD_TOPIC, cptr, "%H %Tu %Tu :%s", chptr,
+                    chptr->creationtime, chptr->topic_time, chptr->topic);
 }
 
 /*