summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-05-20 11:05:10 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-05-20 11:05:10 +0200
commit0a225e5cce5440642618eebea0761c3ebaee3b18 (patch)
treeccf827f5fa1b0af9ad34a55eae89213e65e9b2e2 /src
parent987234faf91bad4b9710f2062a9b90c08137e751 (diff)
downloadweechat-0a225e5cce5440642618eebea0761c3ebaee3b18.zip
Fix crash when adding nick after call to nicklist_remove_all
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui-nicklist.c1
1 files changed, 1 insertions, 0 deletions
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);
}
/*