src/prpl.c

changeset 13335
49bcdb576d8b
parent 13331
06223648dc7e
child 13374
e5da5325b1fa
equal deleted inserted replaced
13334:d0d48650f114 13335:49bcdb576d8b
306 if (prpl == NULL) 306 if (prpl == NULL)
307 return; 307 return;
308 308
309 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl); 309 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl);
310 310
311 if (prpl_info->set_status != NULL) 311 if (!gaim_account_is_disconnected(account) && prpl_info->set_status != NULL)
312 { 312 {
313 prpl_info->set_status(account, new_status); 313 prpl_info->set_status(account, new_status);
314 } 314 }
315 315
316 if (!gaim_status_is_online(new_status)) 316 if (!gaim_status_is_online(new_status))

mercurial