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

View File

@ -940,7 +940,7 @@ Begin
Inc (A); Inc (A);
End; 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'); Assign (ChatFile, Config.DataPath + 'chat' + strI2S(A) + '.dat');
{$I-} Reset (ChatFile); {$I+} {$I-} Reset (ChatFile); {$I+}
If IoResult = 0 Then Begin If IoResult = 0 Then Begin

View File

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