--- a/src/gtkblist.c Mon Apr 24 20:41:15 2006 +0000 +++ b/src/gtkblist.c Mon Apr 24 20:51:45 2006 +0000 @@ -5384,7 +5384,7 @@ presence_cmp = gaim_presence_compare( gaim_buddy_get_presence(my_buddy), - gaim_buddy_get_presence(this_buddy)); + this_buddy ? gaim_buddy_get_presence(this_buddy) : NULL); if (this_buddy == NULL || (presence_cmp < 0 ||