comparison mcabber/src/commands.c @ 212:465d98d2f8e3

[/trunk] Changeset 224 by mikael * Fix a small annoyance in the /move command (when moving to a folded group) * commands.c: add a comment
author mikael
date Sun, 08 May 2005 19:59:04 +0000
parents f64818ba3503
children 4fcdbfdf7c20
comparison
equal deleted inserted replaced
211:0627546a21fe 212:465d98d2f8e3
319 } 319 }
320 320
321 if (!current_buddy) return; 321 if (!current_buddy) return;
322 322
323 group = buddy_getgroup(BUDDATA(current_buddy)); 323 group = buddy_getgroup(BUDDATA(current_buddy));
324 // We'll have to redraw the chat window if we're not currently on the group
325 // entry itself, because it means we'll have to leave the current buddy
326 // chat window.
324 leave_windowbuddy = (group != BUDDATA(current_buddy)); 327 leave_windowbuddy = (group != BUDDATA(current_buddy));
325 328
326 if (!(buddy_gettype(group) & ROSTER_TYPE_GROUP)) { 329 if (!(buddy_gettype(group) & ROSTER_TYPE_GROUP)) {
327 scr_LogPrint("You need to select a group"); 330 scr_LogPrint("You need to select a group");
328 return; 331 return;