Changes in variable.c [d544237:4d9e4254]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
variable.c
rd544237 r4d9e4254 110 110 111 111 OWLVAR_ENUM( "loggingdirection" /* %OwlVarStub */, OWL_LOGGING_DIRECTION_BOTH, 112 "specifi es which kind of messages should be logged",112 "specifices which kind of messages should be logged", 113 113 "Can be one of 'both', 'in', or 'out'. If 'in' is\n" 114 114 "selected, only incoming messages are logged, if 'out'\n" … … 138 138 "location of users in your .anyone file. If a user is present\n" 139 139 "but sent no login message, or a user is not present that sent no\n" 140 "logout message, a pseudo login or logout message wil lbe created\n",140 "logout message, a pseudo login or logout message wil be created\n", 141 141 NULL, owl_variable_pseudologins_set, NULL), 142 142 … … 151 151 152 152 "If non empty, any messages matching the given filter will be logged.\n" 153 "This is a completely separate mechanis m from the other logging\n"153 "This is a completely separate mechanisim from the other logging\n" 154 154 "variables like logging, classlogging, loglogins, loggingdirection,\n" 155 155 "etc. If you want this variable to control all logging, make sure\n" … … 198 198 OWLVAR_PATH( "newmsgproc" /* %OwlVarStub:newmsgproc */, NULL, 199 199 "name of a program to run when new messages are present", 200 "The named program will be run when owl rece ives new\n"200 "The named program will be run when owl recevies new.\n" 201 201 "messages. It will not be run again until the first\n" 202 202 "instance exits"), … … 213 213 "Called every time you start a zephyrgram without an\n" 214 214 "explicit zsig. The default setting implements the policy\n" 215 "descri bed in the documentation for the 'zsig' variable.\n"),215 "descripted in the documentation for the 'zsig' variable.\n"), 216 216 217 217 OWLVAR_STRING( "zsig" /* %OwlVarStub */, "", … … 297 297 "number of seconds after AIM login to ignore login messages", 298 298 "This specifies the number of seconds to wait after an\n" 299 "AIM login before allowing the rec eipt of AIM login notifications.\n"299 "AIM login before allowing the recipt of AIM login notifications.\n" 300 300 "By default this is set to 15. If you would like to view login\n" 301 301 "notifications of buddies as soon as you login, set it to 0 instead."), … … 428 428 int owl_variable_pseudologins_set(owl_variable *v, const void *newval) 429 429 { 430 static owl_timer *timer = NULL;431 430 if (newval) { 432 431 if (*(const int*)newval == 1) { 433 432 owl_function_zephyr_buddy_check(0); 434 if (timer == NULL) {435 timer = owl_select_add_timer(180, 180, owl_zephyr_buddycheck_timer, NULL, NULL);436 }437 } else {438 if (timer != NULL) {439 owl_select_remove_timer(timer);440 timer = NULL;441 }442 433 } 443 434 }
Note: See TracChangeset
for help on using the changeset viewer.