# HG changeset patch # User Elliott Sales de Andrade # Date 1247721342 0 # Node ID affa3b67c651b6196ac52573eeaabbd754728b76 # Parent dd5a512645d7a16c504608788fa510ebef762d94 Use the existing convenience variable instead of a couple of dereferences. diff -r dd5a512645d7 -r affa3b67c651 libpurple/protocols/jabber/presence.c --- a/libpurple/protocols/jabber/presence.c Thu Jul 16 04:27:57 2009 +0000 +++ b/libpurple/protocols/jabber/presence.c Thu Jul 16 05:15:42 2009 +0000 @@ -91,9 +91,9 @@ } if ((jbr = jabber_buddy_find_resource(jb, NULL))) { - purple_prpl_got_user_status(js->gc->account, username, jabber_buddy_state_get_status_id(jbr->state), "priority", jbr->priority, jbr->status ? "message" : NULL, jbr->status, NULL); + purple_prpl_got_user_status(account, username, jabber_buddy_state_get_status_id(jbr->state), "priority", jbr->priority, jbr->status ? "message" : NULL, jbr->status, NULL); } else { - purple_prpl_got_user_status(js->gc->account, username, "offline", msg ? "message" : NULL, msg, NULL); + purple_prpl_got_user_status(account, username, "offline", msg ? "message" : NULL, msg, NULL); } g_free(msg); }