summaryrefslogtreecommitdiff
path: root/clients/zwrite
diff options
context:
space:
mode:
authorGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-10-19 03:57:49 +0000
committerGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-10-19 03:57:49 +0000
commitf890ff1dd74e9ad9691384ccebe0b73d6c1f9801 (patch)
treec22bd63e85fcaed0b354235ce4d7ae6c0bfca076 /clients/zwrite
parent644819d6c68d97a216dd7c5ef9100fe321f654fd (diff)
Incorporate time and date into default message formats.
Diffstat (limited to 'clients/zwrite')
-rw-r--r--clients/zwrite/zwrite.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/clients/zwrite/zwrite.c b/clients/zwrite/zwrite.c
index 3de0f93..19e9537 100644
--- a/clients/zwrite/zwrite.c
+++ b/clients/zwrite/zwrite.c
@@ -211,17 +211,17 @@ main(argc, argv)
notice.z_message_len = 0;
notice.z_recipient = "";
if (filsys == 1)
- notice.z_default_format = "@bold(Filesystem Operation Message for $instance:)\nFrom: @bold($sender)\n$message";
+ notice.z_default_format = "@bold(Filesystem Operation Message for $instance:)\nFrom: @bold($sender) at $time $date\n$message";
else if (auth == ZAUTH) {
if (signature)
- notice.z_default_format = "Class $class, Instance $instance:\nTo: @bold($recipient)\n@bold($1) <$sender>\n\n$2";
+ notice.z_default_format = "Class $class, Instance $instance:\nTo: @bold($recipient) at $time $date\n@bold($1) <$sender>\n\n$2";
else
- notice.z_default_format = "Class $class, Instance $instance:\nTo: @bold($recipient)\n$message";
+ notice.z_default_format = "Class $class, Instance $instance:\nTo: @bold($recipient) at $time $date\n$message";
} else {
if (signature)
- notice.z_default_format = "@bold(UNAUTHENTIC) Class $class, Instance $instance:\n@bold($1) <$sender>\n\n$2";
+ notice.z_default_format = "@bold(UNAUTHENTIC) Class $class, Instance $instance at $time $date:\n@bold($1) <$sender>\n\n$2";
else
- notice.z_default_format = "@bold(UNAUTHENTIC) Class $class, Instance $instance:\n$message";
+ notice.z_default_format = "@bold(UNAUTHENTIC) Class $class, Instance $instance at $time $date:\n$message";
}
if (!nocheck && !msgarg && filsys != 1)
send_off(&notice, 0);