Changeset 8ba37ec
- Timestamp:
- Dec 29, 2003, 2:50:56 PM (21 years ago)
- 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:
- 5ca5f8e
- Parents:
- 421c286f
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r421c286f r8ba37ec 1 1 $Id$ 2 2 3 2.1.4 -pre-13 2.1.4 4 4 Normalize and downcase AIM names for logging 5 Fixed a bug where sending a null zsig could cause a crash 6 Better 'away' toggling if only one protocol is away. 5 7 6 8 2.1.3 -
commands.c
r32eed98 r8ba37ec 1398 1398 char *owl_command_away(int argc, char **argv, char *buff) 1399 1399 { 1400 owl_command_zaway(argc, argv, buff); 1401 owl_command_aaway(argc, argv, buff); 1400 if ((argc==1) || 1401 ((argc==2) && !strcmp(argv[1], "on"))) { 1402 owl_global_set_aaway_msg(&g, owl_global_get_aaway_msg_default(&g)); 1403 owl_global_set_zaway_msg(&g, owl_global_get_zaway_msg_default(&g)); 1404 owl_function_aaway_on(); 1405 owl_function_zaway_on(); 1406 owl_function_makemsg("Away messages set.", owl_global_get_aaway_msg_default(&g)); 1407 return NULL; 1408 } 1409 1410 if (argc==2 && !strcmp(argv[1], "off")) { 1411 owl_function_aaway_off(); 1412 owl_function_zaway_off(); 1413 return NULL; 1414 } 1415 1416 if (argc==2 && !strcmp(argv[1], "toggle")) { 1417 /* if either one is on, turn it off, otherwise toggle both (turn 1418 * them both on) 1419 */ 1420 if (!owl_global_is_zaway(&g) && !owl_global_is_aaway(&g)) { 1421 owl_function_aaway_toggle(); 1422 owl_function_zaway_toggle(); 1423 owl_function_makemsg("Away messages set."); 1424 } else { 1425 if (owl_global_is_zaway(&g)) owl_function_zaway_toggle(); 1426 if (owl_global_is_aaway(&g)) owl_function_aaway_toggle(); 1427 owl_function_makemsg("Away messages off."); 1428 } 1429 return NULL; 1430 } 1431 1432 buff = skiptokens(buff, 1); 1433 owl_global_set_aaway_msg(&g, buff); 1434 owl_global_set_zaway_msg(&g, buff); 1435 owl_function_aaway_on(); 1436 owl_function_zaway_on(); 1437 owl_function_makemsg("Away messages set."); 1402 1438 return NULL; 1403 1439 } -
owl.h
r421c286f r8ba37ec 20 20 static const char owl_h_fileIdent[] = "$Id$"; 21 21 22 #define OWL_VERSION 2.1.4 -pre-123 #define OWL_VERSION_STRING "2.1.4 -pre-1"22 #define OWL_VERSION 2.1.4 23 #define OWL_VERSION_STRING "2.1.4" 24 24 25 25 /* Feature that is being tested to redirect stderr through a pipe. -
zephyr.c
r40d834a r8ba37ec 381 381 382 382 ZResetAuthentication(); 383 384 if (!zsig) zsig=""; 383 385 384 386 notice.z_kind=ACKED;
Note: See TracChangeset
for help on using the changeset viewer.