if (*player->argp[0] == 'a') {
if (getele("everybody", buf) <= 0) {
pr("Announcement aborted\n");
- return RET_OK;
+ return RET_FAIL;
}
pr("\n");
to = 0;
} else if (*player->argp[0] == 'p') {
if (getele("your Gracious Deity", buf) <= 0) {
pr("Prayer aborted\n");
- return RET_OK;
+ return RET_FAIL;
}
pr("\n");
if (typed_wu(player->cnum, 0, buf, TEL_NORM) < 0)
if (player->argp[2]) {
if (getele("multiple recipients", buf) < 0) {
pr("Telegram aborted\n");
- return RET_OK;
+ return RET_FAIL;
}
} else {
if (getele(cname(to), buf) < 0) {
pr("Telegram aborted\n");
- return RET_OK;
+ return RET_FAIL;
}
}
pr("\n");
time(&tgm.tel_date);
tgm.tel_length = getele("The World", msgbuf);
-
if (tgm.tel_length < 0) {
pr("Ignored\n");
if (msgfilepath == downfil)
pr("NOT disabling logins.\n");
- return RET_SYN;
+ return RET_FAIL;
} else if (tgm.tel_length == 0) {
if (msgfilepath == motdfil) {
pr("Removing exsting motd.\n");