diff -r 852378e0c5b5 -r 68c109ca0089 pidgin/gtkroomlist.c --- a/pidgin/gtkroomlist.c Sat Dec 06 05:05:02 2008 +0000 +++ b/pidgin/gtkroomlist.c Sat Dec 06 05:14:07 2008 +0000 @@ -488,7 +488,7 @@ PurpleConnection *conn = purple_account_get_connection(account); PurplePluginProtocolInfo *prpl_info = NULL; - if (conn) + if (conn && PURPLE_CONNECTION_IS_CONNECTED(conn)) prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(conn->prpl); return (prpl_info && prpl_info->roomlist_get_list != NULL);