libpurple/protocols/irc/msgs.c

changeset 33811
5ab172aeeff2
parent 33799
c8a9082d50d1
parent 33803
1f649155c1ee
child 33891
8b4a41b6fe60
equal deleted inserted replaced
33799:c8a9082d50d1 33811:5ab172aeeff2
97 purple_connection_set_state(gc, PURPLE_CONNECTED); 97 purple_connection_set_state(gc, PURPLE_CONNECTED);
98 account = purple_connection_get_account(gc); 98 account = purple_connection_get_account(gc);
99 99
100 /* If we're away then set our away message */ 100 /* If we're away then set our away message */
101 status = purple_account_get_active_status(irc->account); 101 status = purple_account_get_active_status(irc->account);
102 if (!purple_status_get_type(status) != PURPLE_STATUS_AVAILABLE) { 102 if (purple_status_get_type(status) != PURPLE_STATUS_AVAILABLE) {
103 PurplePluginProtocolInfo *prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(purple_connection_get_prpl(gc)); 103 PurplePluginProtocolInfo *prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(purple_connection_get_prpl(gc));
104 prpl_info->set_status(irc->account, status); 104 prpl_info->set_status(irc->account, status);
105 } 105 }
106 106
107 /* this used to be in the core, but it's not now */ 107 /* this used to be in the core, but it's not now */

mercurial