# HG changeset patch # User Nathan Walp # Date 1101879672 0 # Node ID ff5e0f059924213080c3e69a7c89a1bbd639e003 # Parent 810613c795891bc92af377b3989f279e89650aa0 [gaim-migrate @ 11460] i committed this to oldstatus earlier. i really do need to fix the cause at some point (someone trying to register an invalid jabberid) committer: Tailor Script diff -r 810613c79589 -r ff5e0f059924 src/protocols/jabber/presence.c --- a/src/protocols/jabber/presence.c Wed Dec 01 03:52:49 2004 +0000 +++ b/src/protocols/jabber/presence.c Wed Dec 01 05:41:12 2004 +0000 @@ -55,7 +55,12 @@ } void jabber_presence_fake_to_self(JabberStream *js, const GaimStatus *gstatus) { - char *my_base_jid = g_strdup_printf("%s@%s", js->user->node, js->user->domain); + char *my_base_jid; + + if(!js->user) + return; + + my_base_jid = g_strdup_printf("%s@%s", js->user->node, js->user->domain); if(gaim_find_buddy(js->gc->account, my_base_jid)) { JabberBuddy *jb; JabberBuddyResource *jbr;