comparison mcabber/src/commands.c @ 598:a3db3ee8b99e

Fix some display issues The buffer window wasn't cleared after some commands (/room remove, /disconnect, /del...).
author Mikael Berthe <mikael@lilotux.net>
date Tue, 13 Dec 2005 23:04:09 +0100
parents a5707d61e469
children fb67bf62f4eb
comparison
equal deleted inserted replaced
597:96831b222903 598:a3db3ee8b99e
557 } 557 }
558 } 558 }
559 559
560 scr_LogPrint(LPRINT_LOGNORM, "Removing <%s>...", jid); 560 scr_LogPrint(LPRINT_LOGNORM, "Removing <%s>...", jid);
561 jb_delbuddy(jid); 561 jb_delbuddy(jid);
562 scr_ShowBuddyWindow();
562 } 563 }
563 564
564 static void do_group(char *arg) 565 static void do_group(char *arg)
565 { 566 {
566 gpointer group; 567 gpointer group;
1429 scr_LogPrint(LPRINT_NORMAL, "You haven't left this room!"); 1430 scr_LogPrint(LPRINT_NORMAL, "You haven't left this room!");
1430 return; 1431 return;
1431 } 1432 }
1432 // Delete the room 1433 // Delete the room
1433 roster_del_user(buddy_getjid(bud)); 1434 roster_del_user(buddy_getjid(bud));
1435 scr_ShowBuddyWindow();
1434 buddylist_build(); 1436 buddylist_build();
1435 update_roster = TRUE; 1437 update_roster = TRUE;
1436 } 1438 }
1437 1439
1438 static void room_topic(gpointer bud, char *arg) 1440 static void room_topic(gpointer bud, char *arg)