New POP3 options in Config records

This commit is contained in:
mysticbbs 2012-02-17 00:08:12 -05:00
parent 2c9b924307
commit 060e535cb7
3 changed files with 15 additions and 10 deletions

View File

@ -524,10 +524,13 @@ Begin
Config.FCommentLines := 10;
Config.FCommentLen := 79;
Config.inetTNMax := MaxNode;
Config.inetTNNodes := MaxNode;
Config.inetSMTPDupes := 1;
Config.inetPOP3Dupes := 1;
Config.inetPOP3Dupes := 1;
Config.inetPOP3Delete := False;
Config.inetPOP3Timeout := 900;
Config.inetNNTPUse := False;
Config.inetNNTPPort := 119;
@ -690,7 +693,7 @@ Begin
Sec.AF1 := AF1;
Sec.AF2 := AF2;
Sec.Hard := Hard;
Sec.StartMNU := StartMNU;
Sec.StartMenu := StartMNU;
Sec.PCRatio := PCRatio;
End;
@ -958,12 +961,12 @@ Begin
WarningDisplay;
// comment this out ONLY IF config needs converting
Assign (ConfigFile, 'mystic.dat');
Reset (ConfigFile);
Read (ConfigFile, Config);
Close (ConfigFile);
// Assign (ConfigFile, 'mystic.dat');
// Reset (ConfigFile);
// Read (ConfigFile, Config);
// Close (ConfigFile);
// ConvertConfig; //1.10a11
ConvertConfig; //1.10a11
// ConvertUsers; //1.10a11
//ConvertSecurity; //1.10a11

View File

@ -940,7 +940,7 @@ Begin
Inc (A);
End;
For A := 1 to Config.INetTNMax Do Begin
For A := 1 to Config.INetTNNodes Do Begin
Assign (ChatFile, Config.DataPath + 'chat' + strI2S(A) + '.dat');
{$I-} Reset (ChatFile); {$I+}
If IoResult = 0 Then Begin

View File

@ -219,6 +219,8 @@ Type
inetPOP3Port : Word;
inetPOP3Max : Word;
inetPOP3Dupes : Byte;
inetPOP3Delete : Boolean;
inetPOP3Timeout : Word;
inetTNUse : Boolean;
inetTNPort : Word;
inetTNNodes : Byte;
@ -236,7 +238,7 @@ Type
inetNNTPMax : Word;
inetNNTPDupes : Byte;
// UNSORTED
Reserved : Array[1..491] of Char;
Reserved : Array[1..488] of Char;
End;
Const