circo

claudio's IRC oasis
git clone git://git.bitsmanent.org/circo
Log | Files | Refs | README | LICENSE

commit 991a16fec86df0c3d7e8764bba5dd567a493f9fc
parent 77cb39bcd8e5bb3413002b2234b1bbfa4a240702
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Sat, 22 Jul 2017 18:59:06 +0200

Fix incoming PRIVMSG

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

diff --git a/circo.c b/circo.c @@ -530,6 +530,8 @@ parsesrv(void) { trim(par); printb(getbuf("status"), "[DEBUG] %s | %s | %s | txt:(%s)\n", cmd, usr, par, txt); if(!strcmp("PRIVMSG", cmd)) { + if(strcmp(nick, usr)) + par = usr; b = getbuf(par); if(!b) b = newbuf(par);