diff options
-rw-r--r-- | zwgc/zwgc.desc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/zwgc/zwgc.desc b/zwgc/zwgc.desc index 90a5666..48c7fe3 100644 --- a/zwgc/zwgc.desc +++ b/zwgc/zwgc.desc @@ -63,10 +63,11 @@ match "message" set type = "Instance "+$instance endif - fields signature body - if ($body == "") then - set body = $signature + if ($number_of_fields == "1") then + fields body set signature = "" + else + fields signature body endif if ($signature =~ "^[Ff]rom: .*") then set dummy = lany($signature,"From: ") |