Changeset e7bcd1b for aim.c


Ignore:
Timestamp:
Dec 12, 2003, 2:16:46 PM (17 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:
2674412
Parents:
8766d44
Message:
Only print forced AIM logout message once.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aim.c

    rcdf0ef1 re7bcd1b  
    225225  logout(owl_global_get_aimsess(&g));
    226226
    227   owl_function_adminmsg("", "Logged out of AIM");
    228 
     227  if (owl_global_is_aimloggedin(&g)) owl_function_adminmsg("", "Logged out of AIM");
    229228  owl_global_set_aimnologgedin(&g);
    230229  owl_global_set_no_doaimevents(&g);
     
    233232void owl_aim_logged_out()
    234233{
    235   owl_function_adminmsg("", "You have been logged out of AIM");
     234  if (owl_global_is_aimloggedin(&g)) owl_function_adminmsg("", "Logged out of AIM");
    236235  owl_aim_logout();
    237236}
Note: See TracChangeset for help on using the changeset viewer.