]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/turn.c
Fail announce, pray, telegram and turn on aborted telegrams
[empserver] / src / lib / commands / turn.c
index 7818791356325da20e619121322e0aa9b3598fa3..006700046b38cbeeec5290e0a2b7aa64c0ae7ca8 100644 (file)
@@ -76,12 +76,11 @@ turn(void)
 
     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");