Changeset 0c502e9 for readconfig.c


Ignore:
Timestamp:
Jun 22, 2003, 12:56:03 AM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
9381782
Parents:
be0a79f
Message:
Added filter field 'login' which can take the values 'login'
   'logout' or 'none'
Added the perl variable $owl::login, just as above
Updated the 'login' and 'trash' filters appropriately
Fix for checking for DES
Bug fix in using makemsg when no curses window present
File:
1 edited

Legend:

Unmodified
Added
Removed
  • readconfig.c

    rbd3f232 r0c502e9  
    8686  perl_get_sv("owl::time", TRUE);
    8787  perl_get_sv("owl::host", TRUE);
     88  perl_get_sv("owl::login", TRUE);
    8889  perl_get_av("owl::fields", TRUE);
    8990 
     
    178179  } else {
    179180    sv_setpv(perl_get_sv("owl::direction", TRUE), "unknown");
     181  }
     182
     183  /* set owl::login */
     184  if (owl_message_is_login(m)) {
     185    sv_setpv(perl_get_sv("owl::login", TRUE), "login");
     186  } else if (owl_message_is_logout(m)) {
     187    sv_setpv(perl_get_sv("owl::login", TRUE), "logout");
     188  } else {
     189    sv_setpv(perl_get_sv("owl::login", TRUE), "none");
    180190  }
    181191
Note: See TracChangeset for help on using the changeset viewer.