sic

simple irc client
git clone git://git.suckless.org/sic
Log | Files | Refs | README | LICENSE

commit b8950627a7289541be837438989db4409268b41e
parent 5d19f0415e5e9412183d3e3468296e7bf193f071
Author: arg@wmii.de <unknown>
Date:   Wed, 20 Sep 2006 11:18:27 +0200

hotfix

Diffstat:
Msic.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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; }