From d4fe345edbb2b6a2bb435a78a26b7bb3bdf59fc0 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 7 Sep 2004 06:16:23 +0000 Subject: [PATCH] (news): Add a comment to explain why argument is ignored when HIDDEN is on. --- src/lib/commands/news.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/commands/news.c b/src/lib/commands/news.c index e165ab2d3..191c1b9b7 100644 --- a/src/lib/commands/news.c +++ b/src/lib/commands/news.c @@ -71,6 +71,11 @@ news(void) (void)time(&now); natp = getnatp(player->cnum); then = natp->nat_newstim; + /* + * Don't disclose events before contact. Proper solution would be + * to timestamp the contact. Cheesy approximatation: disable old + * news. + */ if (!opt_HIDDEN) { if (player->argp[1] != 0 && isdigit(*player->argp[1])) { delta = days(atoi(player->argp[1])); -- 2.43.0