changeset 24414:34dcb702d0bb

Fix CID #384 Can prpl_info really be NULL, though?
author Richard Laager <rlaager@wiktel.com>
date Fri, 14 Nov 2008 06:15:24 +0000
parents b44e1bbd5b4a
children f05c0530efe9
files pidgin/gtkblist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Thu Nov 13 20:59:40 2008 +0000
+++ b/pidgin/gtkblist.c	Fri Nov 14 06:15:24 2008 +0000
@@ -3344,7 +3344,7 @@
 			}
 		}
 
-		if (prpl_info->chat_info != NULL)
+		if (prpl_info && prpl_info->chat_info != NULL)
 			cur = prpl_info->chat_info(chat->account->gc);
 		else
 			cur = NULL;