diff mcabber/src/commands.c @ 600:483a87c99990

Free room personal data when receiving the unavailable stanza, not before
author Mikael Berthe <mikael@lilotux.net>
date Tue, 13 Dec 2005 23:50:00 +0100
parents fb67bf62f4eb
children 2e8342168ebc
line wrap: on
line diff
--- a/mcabber/src/commands.c	Tue Dec 13 23:40:17 2005 +0100
+++ b/mcabber/src/commands.c	Tue Dec 13 23:50:00 2005 +0100
@@ -1376,10 +1376,6 @@
   jb_setstatus(offline, roomid, arg);
   g_free(utf8_nickname);
   g_free(roomid);
-  buddy_setnickname(bud, NULL);
-  buddy_settopic(bud, NULL);
-  buddy_del_all_resources(bud);
-  scr_LogPrint(LPRINT_LOGNORM, "You have left %s", buddy_getjid(bud));
 }
 
 static void room_nick(gpointer bud, char *arg)