diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/rosterwin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c index b7cf9396..8bbadbcf 100644 --- a/src/ui/rosterwin.c +++ b/src/ui/rosterwin.c @@ -429,7 +429,9 @@ _rosterwin_rooms(ProfLayoutSplit *layout, gboolean newline) GList *curr_room = rooms; while (curr_room) { ProfMucWin *mucwin = wins_get_muc(curr_room->data); - _rosterwin_room(layout, mucwin); + if (mucwin) { + _rosterwin_room(layout, mucwin); + } curr_room = g_list_next(curr_room); } } |