aboutsummaryrefslogtreecommitdiff
path: root/src/irc.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-09 00:23:50 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-09 00:23:50 -0400
commit7cada3864c10b14dec18a0efc768f3455004166b (patch)
treeedbf59aedbbd4fc911149f48e3d8b994ad69e1c1 /src/irc.c
parent632b484974d98742cf67274838fcc4bc2c078e6a (diff)
downloadfujinet-chat-7cada3864c10b14dec18a0efc768f3455004166b.tar.gz
Fix reconnect (regged = 0).
Diffstat (limited to 'src/irc.c')
-rw-r--r--src/irc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irc.c b/src/irc.c
index 5035ace..e616f15 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -528,6 +528,7 @@ int irc_read(void) {
err = nstatus(url);
if(err != 1) {
+ regged = 0;
if(err == 136) {
scr_print_current("Disconnected, press any key...\n");
} else {