diff mcabber/src/commands.c @ 1165:d5b26a0a9771

Close a buffer when using /del Note: In some cases the bufer might be opened again, if we receive a network message from the buddy we're trying to delete.
author Mikael Berthe <mikael@lilotux.net>
date Sat, 17 Feb 2007 11:38:07 +0100
parents 2913310a7be6
children 03a38b7ad2e0
line wrap: on
line diff
--- a/mcabber/src/commands.c	Sat Feb 17 11:32:26 2007 +0100
+++ b/mcabber/src/commands.c	Sat Feb 17 11:38:07 2007 +0100
@@ -880,6 +880,9 @@
     }
   }
 
+  // Close the buffer
+  scr_BufferPurge(1);
+
   scr_LogPrint(LPRINT_LOGNORM, "Removing <%s>...", bjid);
   jb_delbuddy(bjid);
   scr_UpdateBuddyWindow();