degesch: make /disconnect abort reconnect timer
This commit is contained in:
parent
0c4b727961
commit
b3876260b9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user