degesch: refresh prompt on dis/connection

This commit is contained in:
Přemysl Eric Janouch 2015-05-12 07:02:14 +02:00
parent ec52850c7c
commit 24546dd724

View File

@ -3049,6 +3049,8 @@ on_irc_disconnected (struct server *s)
s->manual_disconnect = false;
else
irc_queue_reconnect (s);
refresh_prompt (s->ctx);
}
static void
@ -3263,6 +3265,7 @@ irc_finish_connection (struct server *s, int socket)
irc_reset_connection_timeouts (s);
irc_register (s);
refresh_prompt (s->ctx);
}
static void