Code cleanup
This commit is contained in:
parent
3f37686280
commit
5f44e98560
|
@ -3877,15 +3877,18 @@ Begin
|
||||||
|
|
||||||
If Not Session.FileBase.DszSearch(Config.qwkBBSID + '.rep') Then Begin
|
If Not Session.FileBase.DszSearch(Config.qwkBBSID + '.rep') Then Begin
|
||||||
Session.io.PromptInfo[1] := Config.qwkBBSID + '.rep';
|
Session.io.PromptInfo[1] := Config.qwkBBSID + '.rep';
|
||||||
|
|
||||||
Session.io.OutFullLn (Session.GetPrompt(84));
|
Session.io.OutFullLn (Session.GetPrompt(84));
|
||||||
|
|
||||||
Exit;
|
Exit;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
Session.FileBase.ExecuteArchive (Session.TempPath + Config.qwkBBSID + '.rep', Session.User.ThisUser.Archive, '*', 2)
|
Session.FileBase.ExecuteArchive (Session.TempPath + Config.qwkBBSID + '.rep', Session.User.ThisUser.Archive, '*', 2)
|
||||||
End;
|
End;
|
||||||
|
|
||||||
Assign (DataFile, Session.TempPath + Config.qwkBBSID + '.msg');
|
Assign (DataFile, FileFind(Session.TempPath + Config.qwkBBSID + '.msg'));
|
||||||
{$I-} Reset (DataFile, 1); {$I+}
|
{$I-} Reset (DataFile, 1); {$I+}
|
||||||
|
|
||||||
If IoResult <> 0 Then Begin
|
If IoResult <> 0 Then Begin
|
||||||
Session.io.OutFull (Session.GetPrompt(238));
|
Session.io.OutFull (Session.GetPrompt(238));
|
||||||
DirClean (Session.TempPath, '');
|
DirClean (Session.TempPath, '');
|
||||||
|
|
Loading…
Reference in New Issue