From 14fa5ce5d801af903cc4ff93c93b77302e3226c0 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 12 Nov 2012 20:30:15 +0000 Subject: [PATCH] Clear contact list when connection lost --- src/profanity.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/profanity.c b/src/profanity.c index 6b59f18c..aa9355ca 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -198,6 +198,7 @@ prof_handle_lost_connection(void) { cons_bad_show("Lost connection."); log_info("Lost connection"); + contact_list_clear(); win_disconnected(); win_page_off(); log_info("disconnected");