console/gntblist.c

changeset 14692
3d37294df73d
parent 14678
97f57691faab
child 14753
02d5934c7877
--- a/console/gntblist.c	Tue Sep 26 22:54:24 2006 +0000
+++ b/console/gntblist.c	Tue Sep 26 23:02:40 2006 +0000
@@ -1647,7 +1647,7 @@
 		GaimConnection *gc = gaim_account_get_connection(account);
 		GaimPlugin *prpl;
 		
-		if (!GAIM_CONNECTION_IS_CONNECTED(gc))
+		if (!gc || !GAIM_CONNECTION_IS_CONNECTED(gc))
 			continue;
 		prpl = gc->prpl;
 

mercurial