mcabber/src/commands.c
changeset 853 bdd526ec62bc
parent 848 a9161d2dc414
child 861 e1adea19ba14
equal deleted inserted replaced
852:a3b8956db7bc 853:bdd526ec62bc
   675   }
   675   }
   676 
   676 
   677   if (!current_buddy) return;
   677   if (!current_buddy) return;
   678 
   678 
   679   group = buddy_getgroup(BUDDATA(current_buddy));
   679   group = buddy_getgroup(BUDDATA(current_buddy));
       
   680   if (!group) return;
       
   681 
   680   // We'll have to redraw the chat window if we're not currently on the group
   682   // We'll have to redraw the chat window if we're not currently on the group
   681   // entry itself, because it means we'll have to leave the current buddy
   683   // entry itself, because it means we'll have to leave the current buddy
   682   // chat window.
   684   // chat window.
   683   leave_windowbuddy = (group != BUDDATA(current_buddy));
   685   leave_windowbuddy = (group != BUDDATA(current_buddy));
   684 
   686