Changeset 1db061d for aim.c


Ignore:
Timestamp:
Oct 29, 2003, 11:02:51 AM (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:
252a5c2
Parents:
c7041b3
Message:
Set aim_ignorelogin_timer to 15 by default
Admin message on login/logout of AIM
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aim.c

    rd63690b r1db061d  
    208208void owl_aim_successful_login(char *screenname)
    209209{
     210  char *buff;
    210211  owl_function_debugmsg("doing owl_aim_successful_login");
    211212  owl_global_set_aimloggedin(&g, screenname);
    212213  owl_global_set_doaimevents(&g); /* this should already be on */
    213214  owl_function_makemsg("%s logged in", screenname);
     215  buff=owl_sprintf("Logged in to AIM as %s", screenname);
     216  owl_function_adminmsg("", buff);
     217  owl_free(buff);
    214218
    215219  owl_function_debugmsg("Successful AIM login for %s", screenname);
     
    226230  /* need to check if it's connected first, I think */
    227231  logout(owl_global_get_aimsess(&g));
     232
     233  owl_function_adminmsg("", "Logged out of AIM");
     234
    228235  owl_global_set_aimnologgedin(&g);
    229236  owl_global_set_no_doaimevents(&g);
Note: See TracChangeset for help on using the changeset viewer.