# HG changeset patch # User Mikael Berthe # Date 1147551680 -7200 # Node ID bdd526ec62bcd60458da8a704314c31d3ef75089 # Parent a3b8956db7bc7e6570d00d0f608d874b8692b1c5 Fix segfault when using /group with the [status] entry This patch fixes the segfault reported by pmw in the mcabber conference room. diff -r a3b8956db7bc -r bdd526ec62bc mcabber/src/commands.c --- a/mcabber/src/commands.c Tue May 09 23:48:41 2006 +0200 +++ b/mcabber/src/commands.c Sat May 13 22:21:20 2006 +0200 @@ -677,6 +677,8 @@ if (!current_buddy) return; group = buddy_getgroup(BUDDATA(current_buddy)); + if (!group) return; + // We'll have to redraw the chat window if we're not currently on the group // entry itself, because it means we'll have to leave the current buddy // chat window.