]> git.armaanb.net Git - sic.git/commitdiff
hotfix
authorAnselm R. Garbe <arg@10kloc.org>
Thu, 12 Oct 2006 06:03:37 +0000 (08:03 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Thu, 12 Oct 2006 06:03:37 +0000 (08:03 +0200)
sic.c

diff --git a/sic.c b/sic.c
index 91b2eec47f6aa148698e0f5466c6fb60e6569cca..e210e11273eb75ccba643c8d56bdc3b5386aaad3 100644 (file)
--- a/sic.c
+++ b/sic.c
@@ -86,7 +86,7 @@ parsein(char *msg) {
                return;
        }
        else if(!strncmp(msg + 1, "t ", 2)) {
-               if((p = strchr(&msg[3], ' '))
+               if((p = strchr(&msg[3], ' ')))
                        *(p++) = 0;
                snprintf(bufout, sizeof(bufout), "TOPIC %s :%s\r\n", &msg[3], p);
        }