diff src/protocols/msn/transaction.c @ 10481:bcfea6c3d5c9

[gaim-migrate @ 11769] Patch 1093958 from Felipe Contreras. It fixes stuff. I also made some tweaks to make valgrind a bit happier. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 07 Jan 2005 02:48:33 +0000
parents e5455f1dc9b6
children b488205ad0bc
line wrap: on
line diff
--- a/src/protocols/msn/transaction.c	Thu Jan 06 23:11:12 2005 +0000
+++ b/src/protocols/msn/transaction.c	Fri Jan 07 02:48:33 2005 +0000
@@ -112,6 +112,9 @@
 {
 	MsnCommand *cmd;
 
+	if (!cmdproc->servconn->connected)
+		return;
+
 	gaim_debug_info("msn", "unqueueing command.\n");
 	cmd = trans->pendent_cmd;