(tele): Treat telegram to country not yet contacted as failure. This

matches behavior of other commands.
This commit is contained in:
Markus Armbruster 2006-01-06 17:03:47 +00:00
parent 6a5d398c6d
commit e3443c78eb

View file

@ -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) {