diff src/protocols/msn/msn.c @ 10296:a7b2fd5efcf2

[gaim-migrate @ 11476] Some "random updates" updates from patch 1077274 by Felipe Contreras: "Some changes in the behaviour of slpcalls (for FT), free some unused structures and properly close switchboard connections." Looks good to me, and seems to have fixed a mysterious FT problem that I had been pretending didn't exist. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 02 Dec 2004 16:07:26 +0000
parents d9468bd22b7c
children 56cc5d49472b
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Thu Dec 02 13:03:23 2004 +0000
+++ b/src/protocols/msn/msn.c	Thu Dec 02 16:07:26 2004 +0000
@@ -1255,18 +1255,16 @@
 
 	cmdproc = swboard->servconn->cmdproc;
 
+#if 0
 	if (swboard->current_users == 1)
 	{
-		/* This must happen on both IM's and Chat's, right? */
-		GaimAccount *account;
-
-		account = gaim_connection_get_account(gc);
-
-		msn_cmdproc_send_quick(cmdproc, "BYE", "%s",
-							   gaim_account_get_username(account));
-
+		msn_cmdproc_send_quick(cmdproc, "OUT", NULL, NULL);
 		msn_switchboard_destroy(swboard);
 	}
+#else
+	msn_cmdproc_send_quick(cmdproc, "OUT", NULL, NULL);
+	msn_switchboard_destroy(swboard);
+#endif
 }
 
 static void