diff options
-rw-r--r-- | degesch.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4773,6 +4773,8 @@ handle_command_connect (struct app_context *ctx, char *arguments) buffer_send_error (ctx, s->buffer, "Already connected"); return true; } + if (s->state == IRC_CONNECTING) + irc_destroy_connector (s); irc_cancel_timers (s); irc_initiate_connect (s); |