diff options
author | John Kohl <jtkohl@mit.edu> | 1988-07-05 12:33:47 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1988-07-05 12:33:47 +0000 |
commit | c68b027989b2280657640b607abb2d5dd96885d2 (patch) | |
tree | 4b191fcccfbd9762c09140cd3ea5f7f5bd8ee540 /clients/zwrite | |
parent | f910babc29d02e8a011faa8cf8d55b82c5594747 (diff) |
add different default descriptions as appropriate
Diffstat (limited to 'clients/zwrite')
-rw-r--r-- | clients/zwrite/zwrite.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/clients/zwrite/zwrite.c b/clients/zwrite/zwrite.c index 43e971e..28724d1 100644 --- a/clients/zwrite/zwrite.c +++ b/clients/zwrite/zwrite.c @@ -156,7 +156,14 @@ main(argc, argv) notice.z_recipient = ""; if (filsys) notice.z_default_format = "@bold(Filesystem Operation Message for $instance:)\nFrom: @bold($sender)\n$message"; - else notice.z_default_format = "Class $class, Instance $instance:\n@center(From: @bold($sender) To: @bold($recipient))\n$message"; + else if (signature && auth == ZAUTH) + notice.z_default_format = "Class $class, Instance $instance:\n@center(To: @bold($recipient))\nFrom: $message"; + else if (signature) + notice.z_default_format = "@bold(UNAUTHENTIC) Class $class, Instance $instance:\n@center(To: @bold($recipient))\nFrom: $message"; + else if (auth == ZAUTH) + notice.z_default_format = "Class $class, Instance $instance:\n$message"; + else + notice.z_default_format = "@bold(UNAUTHENTIC) Class $class, Instance $instance:\n$message"; if (!nocheck && !msgarg && !filsys) send_off(¬ice, 0); |