circo

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

commit fa6bdd1cca5a833f2ca7a0564472c6d3956f4aed
parent 85153e08a0fde99cc5c93ad09486055400e9e733
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Sun, 24 Apr 2022 21:42:39 +0200

Ensure channel in JOIN message is populated.

Diffstat:
Mcirco.c | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/circo.c b/circo.c @@ -1225,7 +1225,11 @@ recv_busynick(char *u, char *u2, char *u3) { void recv_join(char *who, char *chan, char *txt) { - Buffer *b = getbuf(chan); + Buffer *b; + + if(!*chan) + chan = txt; + b = getbuf(chan); if(!strcmp(who, nick)) { if(!b)