]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_tb.c
Do not use get_oper_name() for a netwide server notice, it may be confusing.
[irc/rqf/shadowircd.git] / modules / m_tb.c
index eac3ae32fdf615e631536b44a5f7d1f064c5322c..ad5741bb712092344f627fcc1dd59ce4bc099acd 100644 (file)
  */
 
 #include "stdinc.h"
-#include "tools.h"
 #include "send.h"
 #include "channel.h"
 #include "client.h"
 #include "common.h"
 #include "config.h"
 #include "ircd.h"
-#include "irc_string.h"
+#include "match.h"
 #include "s_conf.h"
 #include "msg.h"
 #include "modules.h"
@@ -115,11 +114,6 @@ ms_tb(struct Client *client_p, struct Client *source_p, int parc, const char *pa
                              use_id(source_p), chptr->chname, (long) chptr->topic_time,
                              ConfigChannel.burst_topicwho ? chptr->topic_info : "",
                              ConfigChannel.burst_topicwho ? " " : "", chptr->topic);
-               sendto_server(client_p, chptr, CAP_TB, CAP_TS6,
-                             ":%s TB %s %ld %s%s:%s",
-                             source_p->name, chptr->chname, (long) chptr->topic_time,
-                             ConfigChannel.burst_topicwho ? chptr->topic_info : "",
-                             ConfigChannel.burst_topicwho ? " " : "", chptr->topic);
        }
 
        return 0;