--- a/libgaim/protocols/jabber/disco.c Tue Aug 22 18:10:43 2006 +0000 +++ b/libgaim/protocols/jabber/disco.c Tue Aug 22 18:28:00 2006 +0000 @@ -200,7 +200,7 @@ const char *from = xmlnode_get_attrib(packet, "from"); const char *type = xmlnode_get_attrib(packet, "type"); - if(!strcmp(type, "get")) { + if(type && !strcmp(type, "get")) { JabberIq *iq = jabber_iq_new_query(js, JABBER_IQ_RESULT, "http://jabber.org/protocol/disco#items");