changeset 5201:b81e3c496598

[gaim-migrate @ 5567] This fixes signing on with zephyr and other protocols that don't have list icon functions. Zephyr still seems to inifinite loop when I sign on, I don't know why. It used to work. Also, zephyr doesn't have an icon for people in the buddy list. Me or something that's in with the downlow should do something about that. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 23 Apr 2003 18:46:45 +0000
parents 721a61670540
children ccb0ab32ba01
files src/buddy.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Wed Apr 23 13:24:34 2003 +0000
+++ b/src/buddy.c	Wed Apr 23 18:46:45 2003 +0000
@@ -1772,6 +1772,9 @@
 		unref_protocol(prpl);
 	}
 
+	if (!protoname)
+		return NULL;
+
 	/* "Hey, what's all this crap?" you ask.  Status icons will be themeable too, and 
 	   then it will look up protoname from the theme */
 	if (!strcmp(protoname, "aim")) {