Changeset 405d5e6
- Timestamp:
- Apr 10, 2004, 2:01:14 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:
- 789462a
- Parents:
- 5e0b690
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r5e0b690 r405d5e6 3 3 2.1.7-pre-1 4 4 The colorclass command is added, to make colorization easy 5 Handle MIT Athena OLC zephyrs correctly 6 Updated ktools website / bug address 5 7 6 8 2.1.6 -
owl.c
rfe1f605 r405d5e6 344 344 strcat(startupmsg, " \n"); 345 345 strcat(startupmsg, "If you would like to receive release announcements about Owl you can \n"); 346 strcat(startupmsg, "join the owl-users @mit.edu mailing list at http://web.mit.edu/ktools/\n");346 strcat(startupmsg, "join the owl-users mailing list at http://www.ktools.org/ \n"); 347 347 strcat(startupmsg, " ^ ^ \n"); 348 348 strcat(startupmsg, " OvO \n"); 349 strcat(startupmsg, "Please report any bugs or suggestions to bug-owl@ mit.edu( ) \n");349 strcat(startupmsg, "Please report any bugs or suggestions to bug-owl@ktools.org ( ) \n"); 350 350 strcat(startupmsg, "-----------------------------------------------------------------m-m---\n"); 351 351 owl_function_adminmsg("", startupmsg); -
zephyr.c
r1971b59 r405d5e6 345 345 char *owl_zephyr_get_message(ZNotice_t *n) 346 346 { 347 /* don't let ping messages have a body */ 347 348 if (!strcasecmp(n->z_opcode, "ping")) { 348 349 return(owl_strdup("")); 349 350 } 350 351 352 /* deal with MIT Athena OLC messages */ 353 if (!strcasecmp(n->z_class, "olc") && 354 !strcasecmp(n->z_sender, "olc.matisse@ATHENA.MIT.EDU")) { 355 return(owl_zephyr_get_field(n, 1)); 356 } 357 351 358 return(owl_zephyr_get_field(n, 2)); 352 359 } … … 358 365 /* return a pointer to the zsig if there is one */ 359 366 367 /* message length 0? No zsig */ 360 368 if (n->z_message_len==0) { 361 369 *k=0; 362 370 return(""); 363 371 } 372 373 /* No zsig for OLC messages */ 374 if (!strcasecmp(n->z_class, "olc") && 375 !strcasecmp(n->z_sender, "olc.matisse@ATHENA.MIT.EDU")) { 376 return(""); 377 } 378 379 /* Everything else is field 1 */ 364 380 *k=strlen(n->z_message); 365 381 return(n->z_message);
Note: See TracChangeset
for help on using the changeset viewer.