]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_topic.c
Do not use get_oper_name() for a netwide server notice, it may be confusing.
[irc/rqf/shadowircd.git] / modules / m_topic.c
index fb558fb12d59c908b4c3fabe7f230a811e990735..da5a8c2cee78ec39035aa6d5420019f1d0435006 100644 (file)
@@ -28,8 +28,7 @@
 #include "channel.h"
 #include "client.h"
 #include "hash.h"
-#include "irc_string.h"
-#include "sprintf_irc.h"
+#include "match.h"
 #include "ircd.h"
 #include "numeric.h"
 #include "send.h"
@@ -109,10 +108,6 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char *
                                        ":%s TOPIC %s :%s",
                                        use_id(source_p), chptr->chname,
                                        chptr->topic == NULL ? "" : chptr->topic);
-                       sendto_server(client_p, chptr, NOCAPS, CAP_TS6,
-                                       ":%s TOPIC %s :%s",
-                                       source_p->name, chptr->chname,
-                                       chptr->topic == NULL ? "" : chptr->topic);
                        sendto_channel_local(ALL_MEMBERS,
                                        chptr, ":%s!%s@%s TOPIC %s :%s",
                                        source_p->name, source_p->username,