Introduction
Introduction Statistics Contact Development Disclaimer Help
hotfix - sic - simple irc client
git clone git://git.suckless.org/sic
Log
Files
Refs
README
LICENSE
---
commit b8950627a7289541be837438989db4409268b41e
parent 5d19f0415e5e9412183d3e3468296e7bf193f071
Author: [email protected] <unknown>
Date: Wed, 20 Sep 2006 11:18:27 +0200
hotfix
Diffstat:
M sic.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;
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.