]> git.armaanb.net Git - sic.git/blobdiff - sic.c
hotfix
[sic.git] / sic.c
diff --git a/sic.c b/sic.c
index 235bbdfa4d7ded02f35fa36843cddee69cdf3340..b2fc38c2242033d51ab36217e67904a81cbb520c 100644 (file)
--- a/sic.c
+++ b/sic.c
@@ -81,6 +81,8 @@ parsein(char *msg)
        else if(!strncmp(msg + 1, "l ", 2))
                snprintf(bufout, sizeof(bufout), "PART %s :sic\r\n", &msg[3]);
        else if(!strncmp(msg + 1, "m ", 2)) {
+               if(p = strchr(&msg[3], ' '))
+                       *(p++) = 0;
                privmsg(&msg[3], p);
                return;
        }