summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--degesch.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index 951a9ad..711b970 100644
--- a/degesch.c
+++ b/degesch.c
@@ -7374,6 +7374,11 @@ handle_command_disconnect (struct handler_args *a)
log_server_status (s, s->buffer, "Connecting aborted");
irc_destroy_connector (s);
}
+ else if (poller_timer_is_active (&s->reconnect_tmr))
+ {
+ log_server_status (s, s->buffer, "Connecting aborted");
+ poller_timer_reset (&s->reconnect_tmr);
+ }
else if (!irc_is_connected (s))
log_server_error (s, s->buffer, "Not connected");
else