aboutsummaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-12 07:02:14 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-12 07:02:14 +0200
commit24546dd7241de7d2af7cae06b1a7900fa9c3eb40 (patch)
tree1e37e4ed18b4dacf59d6bc2e4d55bca2060875b5 /degesch.c
parentec52850c7ccca77315948a154b6f167890265ab9 (diff)
downloadxK-24546dd7241de7d2af7cae06b1a7900fa9c3eb40.tar.gz
xK-24546dd7241de7d2af7cae06b1a7900fa9c3eb40.tar.xz
xK-24546dd7241de7d2af7cae06b1a7900fa9c3eb40.zip
degesch: refresh prompt on dis/connection
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index f45a649..e7310c9 100644
--- a/degesch.c
+++ b/degesch.c
@@ -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