From e3443c78eb853754b91ee0875297bfadfa5ee586 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 6 Jan 2006 17:03:47 +0000 Subject: [PATCH] (tele): Treat telegram to country not yet contacted as failure. This matches behavior of other commands. --- src/lib/commands/tele.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/lib/commands/tele.c b/src/lib/commands/tele.c index cb50831f..c0dad40e 100644 --- a/src/lib/commands/tele.c +++ b/src/lib/commands/tele.c @@ -74,17 +74,8 @@ tele(void) kk = 1; while (player->argp[kk] != NULL) { - if ((n = natarg(player->argp[kk], "for which country? ")) < 0) { - if (opt_HIDDEN) { - if (n < -1) { - return RET_OK; - } else { - return RET_SYN; - } - } else { - return RET_SYN; - } - } + if ((n = natarg(player->argp[kk], "for which country? ")) < 0) + return RET_SYN; to = n; if (kk == 1) {