summaryrefslogtreecommitdiff
path: root/zwgc/zwgc.desc
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1997-09-14 18:12:16 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1997-09-14 18:12:16 +0000
commitce6018836c422c86a729ba39fe5433ec11b87b02 (patch)
treecc2e6601489384fcf41e0565e8906822897b46c8 /zwgc/zwgc.desc
parentac16f380e349fa39ec7e26bccb5456cb300006a5 (diff)
Pull in sources from zephyr locker. See /mit/zephyr/repository for
detailed change information.
Diffstat (limited to 'zwgc/zwgc.desc')
-rw-r--r--zwgc/zwgc.desc18
1 files changed, 11 insertions, 7 deletions
diff --git a/zwgc/zwgc.desc b/zwgc/zwgc.desc
index 01a2e62..796eaf0 100644
--- a/zwgc/zwgc.desc
+++ b/zwgc/zwgc.desc
@@ -87,14 +87,18 @@ match "WG_CTL_CLASS"
# put
# exit
match "message"
- case $instance
- match "PERSONAL"
- set type = "Personal"
- match "URGENT"
- set type = "Urgent"
- default
+ if (downcase($recipient) == downcase($user)) then
+ case $instance
+ match "PERSONAL"
+ set type = "Personal"
+ match "URGENT"
+ set type = "Urgent"
+ default
+ set type = $instance
+ endcase
+ else
set type = "Instance "+$instance
- endcase
+ endif
fields signature body
if ($body == "") then