]> git.armaanb.net Git - sic.git/blobdiff - sic.c
setting the topic must not be supported, its a trivial IRC command (*and rarely used...
[sic.git] / sic.c
diff --git a/sic.c b/sic.c
index 795b4bb0985bdc20e2804a50f1508c42667a46d4..77c6a29a4a2202799f52899743fe40b2485fac94 100644 (file)
--- a/sic.c
+++ b/sic.c
@@ -95,11 +95,6 @@ parsein(char *msg) {
                strncpy(channel, msg + 3, sizeof channel);
                return;
        }
-       else if(!strncmp(msg + 1, "t ", 2)) {
-               if((p = strchr(msg + 3, ' ')))
-                       *(p++) = 0;
-               snprintf(bufout, sizeof bufout, "TOPIC %s :%s\r\n", msg + 3, p);
-       }
        else
                snprintf(bufout, sizeof bufout, "%s\r\n", msg + 1);
        write(srv, bufout, strlen(bufout));