summaryrefslogtreecommitdiff
path: root/sic.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-13 16:14:52 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-13 16:14:52 +0100
commit82946e102dd8ca48b8a8df710c20bef94c649af0 (patch)
treee16b0c44f7d28c23e2fd8c88e1ec281c27d9351b /sic.c
parent7ef7529687d3e15aee3fe7fb6e6dceb3027ffd92 (diff)
downloadcic-82946e102dd8ca48b8a8df710c20bef94c649af0.tar.gz
setting the topic must not be supported, its a trivial IRC command (*and rarely used btw*)
Diffstat (limited to 'sic.c')
-rw-r--r--sic.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sic.c b/sic.c
index 795b4bb..77c6a29 100644
--- 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));