Blocked selection of FTN and Usenet moderated message areas

This commit is contained in:
Michiel Broek 2007-10-14 13:27:55 +00:00
parent e58d20dc08
commit 19bcce90ab
3 changed files with 34 additions and 28 deletions

View File

@ -12,6 +12,9 @@ v0.91.13 12-Oct-2007
mbnewusr:
Added GeoIP support.
mbsetup:
Blocked selection of FTN and Usenet moderated message areas.
v0.91.12 24-Sep-2007 - 12-Oct-2007

View File

@ -14,7 +14,7 @@
</HEAD>
<BODY>
<BLOCKQUOTE>
<div align="right"><h5>Last update 23-Feb-2004</h5></div>
<div align="right"><h5>Last update 14-Oct-2007</h5></div>
<div align="center"><H1>MBSE BBS Setup - Mail Setup -> Mail Areas.</H1></div>
<H3>Introduction.</H3>
@ -47,7 +47,7 @@ change netmail reply board and delete message area.
<strong>QWK name </strong>The name of the area for OffLine Readers.
<strong>Distrib. </strong>Leave this blank for now!
<strong>Area Type </strong>Local, Netmail, Echomail or News.
<strong>Msg Kinds </strong>Private/Public, Private, Public, Read Only, FTN moderated, Usenet Moderated
<strong>Msg Kinds </strong>Private/Public, Private, Public, Read Only.
<strong>Charset </strong>Default characterset for the area
<strong>Active </strong>If this area is active.
<strong>Days Old </strong>The maximum age of the messages before purging.

View File

@ -1631,8 +1631,8 @@ char *getmsgkinds(int val)
case PRIVATE: return (char *)"Private only ";
case PUBLIC: return (char *)"Public only ";
case RONLY: return (char *)"Read Only ";
case FTNMOD: return (char *)"FTN moderated ";
case USEMOD: return (char *)"Usenet moderated";
case FTNMOD: return (char *)"FTN_mod obsolete";
case USEMOD: return (char *)"USE_mod obsolete";
default: return NULL;
}
}
@ -1658,7 +1658,10 @@ int edit_msgkinds(int y, int x, int val)
ch = readkey(y, x, YELLOW, BLUE);
if (ch == ' ') {
if (val < USEMOD)
/*
* Node, defined upto USEMOD, but we only use upto RONLY.
*/
if (val < RONLY)
val++;
else
val = BOTH;