Changeset a352335c for owl.c


Ignore:
Timestamp:
Jul 5, 2003, 7:38:16 AM (18 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
6873455
Parents:
c045455
Message:
Fixed bug in buddy idle time stuff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    rde03334 ra352335c  
    319319    followlast=owl_global_should_followlast(&g);
    320320   
    321     /* If we're logged into AIM, do AIM stuff */
    322     if (owl_global_is_aimloggedin(&g)) {
    323       owl_function_debugmsg("Doing aim processing");
     321    /* Do AIM stuff */
     322    if (owl_global_is_doaimevents(&g)) {
    324323      owl_aim_process_events();
    325324
    326       if (owl_timer_is_expired(owl_global_get_aim_buddyinfo_timer(&g))) {
    327         owl_buddylist_request_idletimes(owl_global_get_buddylist(&g));
    328         owl_timer_reset(owl_global_get_aim_buddyinfo_timer(&g));
     325      if (owl_global_is_aimloggedin(&g)) {
     326        if (owl_timer_is_expired(owl_global_get_aim_buddyinfo_timer(&g))) {
     327          owl_buddylist_request_idletimes(owl_global_get_buddylist(&g));
     328          owl_timer_reset(owl_global_get_aim_buddyinfo_timer(&g));
     329        }
    329330      }
    330331    }
Note: See TracChangeset for help on using the changeset viewer.