]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/proto-p10.c
fix redundant "none" message in llist
[irc/evilnet/x3.git] / src / proto-p10.c
index 73d23a6d009f28ff7e2df1f1642d44c0761aba99..05c92a02c3c36769a0c3863511ed0f825542f37a 100644 (file)
@@ -1038,7 +1038,7 @@ irc_topic(struct userNode *service, struct userNode *who, struct chanNode *what,
       host_in_topic = atoi(hstr);
    }
 
-   if (type == 5) {
+   if (type >= 5) {
      putsock("%s " P10_TOPIC " %s %s%s%s%s%s " FMT_TIME_T " " FMT_TIME_T " :%s", service->numeric, what->name,
              who->nick, host_in_topic ? "!" : "", host_in_topic ? (IsSetHost(who) ? sident : who->ident) : "", 
              host_in_topic ? "@" : "", host_in_topic ? shost : "", what->timestamp, now, topic);