Changeset a352335c for global.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
  • global.c

    rde03334 ra352335c  
    100100  g->havezephyr=0;
    101101  g->haveaim=0;
     102  owl_global_set_no_doaimevents(g);
    102103}
    103104
     
    674675char *owl_global_get_aim_screenname(owl_global *g)
    675676{
    676   return (g->aim_screenname);
     677  if (owl_global_is_aimloggedin(g)) {
     678    return (g->aim_screenname);
     679  }
     680  return("");
    677681}
    678682
     
    688692  g->aim_loggedin=0;
    689693}
     694
     695int owl_global_is_doaimevents(owl_global *g)
     696{
     697  if (g->aim_doprocessing) return(1);
     698  return(0);
     699}
     700
     701void owl_global_set_doaimevents(owl_global *g)
     702{
     703  g->aim_doprocessing=1;
     704}
     705
     706void owl_global_set_no_doaimevents(owl_global *g)
     707{
     708  g->aim_doprocessing=0;
     709}
     710
    690711
    691712aim_session_t *owl_global_get_aimsess(owl_global *g)
Note: See TracChangeset for help on using the changeset viewer.