Code cleanup

This commit is contained in:
mysticbbs 2013-01-17 17:12:06 -05:00
parent 3f37686280
commit 5f44e98560
1 changed files with 5 additions and 2 deletions

View File

@ -3877,15 +3877,18 @@ Begin
If Not Session.FileBase.DszSearch(Config.qwkBBSID + '.rep') Then Begin
Session.io.PromptInfo[1] := Config.qwkBBSID + '.rep';
Session.io.OutFullLn (Session.GetPrompt(84));
Exit;
End;
Session.FileBase.ExecuteArchive (Session.TempPath + Config.qwkBBSID + '.rep', Session.User.ThisUser.Archive, '*', 2)
End;
Assign (DataFile, Session.TempPath + Config.qwkBBSID + '.msg');
Assign (DataFile, FileFind(Session.TempPath + Config.qwkBBSID + '.msg'));
{$I-} Reset (DataFile, 1); {$I+}
If IoResult <> 0 Then Begin
Session.io.OutFull (Session.GetPrompt(238));
DirClean (Session.TempPath, '');