diff options
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |