- Timestamp:
- Aug 25, 2002, 11:35:03 AM (22 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:
- 56330ff
- Parents:
- 7131cf2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
filter.c
r75be7c0 r4b464a4 59 59 !strcasecmp(argv[i], "opcode") || 60 60 !strcasecmp(argv[i], "realm") || 61 !strcasecmp(argv[i], "type")) { 61 !strcasecmp(argv[i], "type") || 62 !strcasecmp(argv[i], "direction")) { 62 63 owl_filterelement_create_re(fe, argv[i], argv[i+1]); 63 64 i++; … … 142 143 match=owl_message_get_realm(m); 143 144 } else if (!strcasecmp(field, "type")) { 144 if (owl_message_is_ zephyr(m)) {145 if (owl_message_is_type_zephyr(m)) { 145 146 match="zephyr"; 146 } else if (owl_message_is_ admin(m)) {147 } else if (owl_message_is_type_admin(m)) { 147 148 match="admin"; 149 } else { 150 match=""; 151 } 152 } else if (!strcasecmp(field, "direction")) { 153 if (owl_message_is_direction_out(m)) { 154 match="out"; 155 } else if (owl_message_is_direction_in(m)) { 156 match="in"; 157 } else if (owl_message_is_direction_none(m)) { 158 match="none"; 148 159 } else { 149 160 match="";
Note: See TracChangeset
for help on using the changeset viewer.