]> code.citadel.org Git - citadel.git/commitdiff
client side of allowing deletion of mail
authorArt Cancro <ajc@citadel.org>
Tue, 17 Nov 1998 04:18:48 +0000 (04:18 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 17 Nov 1998 04:18:48 +0000 (04:18 +0000)
citadel/messages.c

index 0039e2188051b31edc54ba7a742fffdbe5b46605..e2902e6d30192bf919b797b9f110fa6a8f11f6bc 100644 (file)
@@ -1066,7 +1066,10 @@ RMSGREAD:        fflush(stdout);
                                e=(inkey()&127); e=tolower(e);
 /* return key same as <N> */   if (e==13) e='n';
 /* space key same as <N> */    if (e==32) e='n';
-/* del/move for aides only */  if (!is_room_aide) if ((e=='d')||(e=='m')) e=0;
+/* del/move for aides only */  if ((!is_room_aide)
+                                   &&((room_flags&QR_MAILBOX)==0)) {
+                                       if ((e=='d')||(e=='m')) e=0;
+                                       }
 /* print only if available */  if ((e=='p')&&(strlen(printcmd)==0)) e=0;
 /* can't move from Mail> */    if ((e=='m')&&(is_mail==1)) e=0;
 /* can't reply in public rms */        if ((e=='r')&&(is_mail!=1)) e=0;