From 0a225e5cce5440642618eebea0761c3ebaee3b18 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 20 May 2008 11:05:10 +0200 Subject: [PATCH] Fix crash when adding nick after call to nicklist_remove_all --- src/gui/gui-nicklist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/gui-nicklist.c b/src/gui/gui-nicklist.c index b3b0cd1e9..473898910 100644 --- a/src/gui/gui-nicklist.c +++ b/src/gui/gui-nicklist.c @@ -448,6 +448,7 @@ gui_nicklist_remove_all (struct t_gui_buffer *buffer) { gui_nicklist_remove_group (buffer, buffer->nicklist_root); } + gui_nicklist_add_group (buffer, NULL, "root", NULL, 0); } /*