Changeset 4fd3c04 for variable.c


Ignore:
Timestamp:
Oct 12, 2017, 8:28:02 PM (6 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master
Children:
a882637
Parents:
ee6b30f
git-author:
Anders Kaseorg <andersk@mit.edu> (10/06/17 21:27:09)
git-committer:
Anders Kaseorg <andersk@mit.edu> (10/12/17 20:28:02)
Message:
Remove AIM support

This code has received almost no security attention, and anyway, AIM
is shutting down on December 15, 2017.

https://aimemories.tumblr.com/post/166091776077/aimemories

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • variable.c

    r03fbf66 r4fd3c04  
    161161               "Enable printing of login notifications",
    162162               "When this is enabled, BarnOwl will print login and logout notifications\n"
    163                "for AIM, zephyr, or other protocols.  If disabled BarnOwl will not print\n"
     163               "for zephyr or other protocols.  If disabled BarnOwl will not print\n"
    164164               "login or logout notifications.\n");
    165165
     
    233233                 "default zaway message", "" );
    234234
    235   OWLVAR_BOOL_FULL( "aaway" /* %OwlVarStub */, 0,
    236                     "Set AIM away status",
    237                     "",
    238                     NULL, owl_variable_aaway_set, NULL);
    239 
    240   OWLVAR_STRING( "aaway_msg" /* %OwlVarStub */,
    241                  OWL_DEFAULT_AAWAYMSG,
    242                  "AIM away msg for responding when away", "" );
    243 
    244   OWLVAR_STRING( "aaway_msg_default" /* %OwlVarStub */,
    245                  OWL_DEFAULT_AAWAYMSG,
    246                  "default AIM away message", "" );
    247 
    248235  OWLVAR_STRING( "view_home" /* %OwlVarStub */, "all",
    249236                 "home view to switch to after 'X' and 'V'",
     
    288275                 "Zephyr messages be no wider than 70 columns.\n");
    289276
    290   OWLVAR_INT( "aim_ignorelogin_timer" /* %OwlVarStub */, 15,
    291               "number of seconds after AIM login to ignore login messages",
    292               "This specifies the number of seconds to wait after an\n"
    293               "AIM login before allowing the receipt of AIM login notifications.\n"
    294               "By default this is set to 15.  If you would like to view login\n"
    295               "notifications of buddies as soon as you login, set it to 0 instead.");
    296 
    297              
    298277  OWLVAR_INT_FULL( "typewinsize" /* %OwlVarStub:typwin_lines */,
    299278                   OWL_TYPWIN_SIZE,
     
    461440}
    462441
    463 /* When 'aaway' is changed, need to notify the AIM server */
    464 int owl_variable_aaway_set(owl_variable *v, bool newval)
    465 {
    466   if (newval) {
    467     owl_aim_set_awaymsg(owl_global_get_aaway_msg(&g));
    468   } else {
    469     owl_aim_set_awaymsg("");
    470   }
    471   return owl_variable_bool_set_default(v, newval);
    472 }
    473 
    474442int owl_variable_colorztext_set(owl_variable *v, bool newval)
    475443{
Note: See TracChangeset for help on using the changeset viewer.