circo

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

commit a4a707061382289f7a2e00e0569586456be11784
parent adc01e95a4e331fb55736efd4d68576644eae817
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Thu, 19 Apr 2018 22:04:28 +0200

Handle 433 with recv_busynick().

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

diff --git a/circo.c b/circo.c @@ -178,6 +178,7 @@ Message messages[] = { { "332", recv_topicrpl }, { "353", recv_users }, { "372", recv_motd }, + { "433", recv_busynick }, { "437", recv_busynick }, /* ignored */ @@ -569,7 +570,7 @@ drawcmdln(void) { cmdsz = pslen < cols ? cols - pslen : 0; if(cmdsz) { cur = pslen + (sel->cmdoff % cmdsz) + 1; - i = cmdsz ? cmdsz * (sel->cmdoff / cmdsz) : 0; + i = cmdsz * (sel->cmdoff / cmdsz); } else { cur = cols;