Changeset 719c699
- Timestamp:
- Aug 3, 2008, 7:27:27 PM (16 years ago)
- Branches:
- master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 0f9eca7
- Parents:
- 731dd1e
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
message.c
r07bfbc2 r719c699 619 619 } 620 620 621 int owl_message_is_burningears(owl_message *m)622 {623 /* we should add a global to cache the short zsender */624 char sender[LINE], *ptr;625 626 /* if the message is from us or to us, it doesn't count */627 if (owl_message_is_from_me(m) || owl_message_is_private(m)) return(0);628 629 if (owl_message_is_type_zephyr(m)) {630 strcpy(sender, owl_zephyr_get_sender());631 ptr=strchr(sender, '@');632 if (ptr) *ptr='\0';633 } else if (owl_message_is_type_aim(m)) {634 strcpy(sender, owl_global_get_aim_screenname(&g));635 } else {636 return(0);637 }638 639 if (stristr(owl_message_get_body(m), sender)) {640 return(1);641 }642 return(0);643 }644 645 621 /* caller must free return value. */ 646 622 char *owl_message_get_cc(owl_message *m) -
variable.c
r52f8dd6 r719c699 177 177 "off,middle,on", 178 178 NULL, owl_variable_disable_ctrl_d_set, NULL), 179 180 OWLVAR_BOOL( "_burningears" /* %OwlVarStub:burningears */, 0,181 "[NOT YET IMPLEMENTED] beep on messages matching patterns", "" ),182 183 OWLVAR_BOOL( "_summarymode" /* %OwlVarStub:summarymode */, 0,184 "[NOT YET IMPLEMENTED]", "" ),185 179 186 180 OWLVAR_PATH( "logpath" /* %OwlVarStub */, "~/zlog/people",
Note: See TracChangeset
for help on using the changeset viewer.