aboutsummaryrefslogtreecommitdiff
path: root/src/irc.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-13 02:37:33 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-13 02:37:33 -0400
commitfc503a1093f3d971e1bc2082122031a0761bd9ed (patch)
tree1de455d23a446236f2f50ac1f5090a3c046b1315 /src/irc.c
parent8b76e79585aa1ed0a3bc4c1708f2d270aac239fc (diff)
downloadfujinet-chat-fc503a1093f3d971e1bc2082122031a0761bd9ed.tar.gz
On disconnect or connect fail, sleep between retries, incremental backoff timer.
Diffstat (limited to 'src/irc.c')
-rw-r--r--src/irc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc.c b/src/irc.c
index 95ab584..9f8118f 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -628,15 +628,15 @@ int irc_read(void) {
err = nstatus(conf->url);
if(err != 1) {
+ scr_display(SCR_SERVER);
regged = 0;
if(err == 136) {
scr_print_current("Disconnected");
} else {
print_errnum();
}
- scr_print_current(", press any key...\n");
+ scr_eol_current();
bell();
- cgetc();
return 0;
}