From f890ff1dd74e9ad9691384ccebe0b73d6c1f9801 Mon Sep 17 00:00:00 2001 From: Kenneth G Raeburn Date: Fri, 19 Oct 1990 03:57:49 +0000 Subject: Incorporate time and date into default message formats. --- clients/zwrite/zwrite.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'clients/zwrite') 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(¬ice, 0); -- cgit v1.2.3