(tele): Fix prompting for telegram recipient.

(tele): Spelling fix.
This commit is contained in:
Markus Armbruster 2006-01-06 17:53:45 +00:00
parent 4f3007c6a7
commit 8a8fad04a4

View file

@ -73,7 +73,7 @@ tele(void)
int kk; int kk;
kk = 1; kk = 1;
while (player->argp[kk] != NULL) { do {
if ((n = natarg(player->argp[kk], "for which country? ")) < 0) if ((n = natarg(player->argp[kk], "for which country? ")) < 0)
return RET_SYN; return RET_SYN;
to = n; to = n;
@ -95,7 +95,7 @@ tele(void)
natp = getnatp(to); natp = getnatp(to);
if (natp->nat_stat < STAT_SANCT) { if (natp->nat_stat < STAT_SANCT) {
pr("%s has no \"telegram priveleges\".\n", cname(to)); pr("%s has no \"telegram privileges\".\n", cname(to));
kk++; kk++;
continue; continue;
} }
@ -116,7 +116,7 @@ tele(void)
setcont(to, player->cnum, FOUND_TELE); setcont(to, player->cnum, FOUND_TELE);
} }
kk++; kk++;
} } while (player->argp[kk] != NULL);
} }
return RET_OK; return RET_OK;
} }