QWK news,welcome,goodbye bugfix
This commit is contained in:
parent
fbad55ed34
commit
5069aa38cc
|
@ -3781,3 +3781,6 @@
|
||||||
|
|
||||||
+ MIS now passes both the IP and HOST command lines when creating a telnet
|
+ MIS now passes both the IP and HOST command lines when creating a telnet
|
||||||
session.
|
session.
|
||||||
|
|
||||||
|
! Mystic should now properly copy Welcome, News, and Goodbye files if they
|
||||||
|
exist into QWK packets.
|
||||||
|
|
|
@ -2922,9 +2922,10 @@ Begin
|
||||||
End;
|
End;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
Write (tFile, Config.qwkWelcome + CRLF);
|
Write (tFile, JustFile(Config.qwkWelcome) + CRLF);
|
||||||
Write (tFile, Config.qwkNews + CRLF);
|
Write (tFile, JustFile(Config.qwkNews) + CRLF);
|
||||||
Write (tFile, Config.qwkGoodbye + CRLF);
|
Write (tFile, JustFile(Config.qwkGoodbye) + CRLF);
|
||||||
|
|
||||||
Close (tFile);
|
Close (tFile);
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
@ -3131,6 +3132,7 @@ Begin
|
||||||
|
|
||||||
BlockRead (DataFile, Temp[1], 128);
|
BlockRead (DataFile, Temp[1], 128);
|
||||||
Temp[0] := #128;
|
Temp[0] := #128;
|
||||||
|
|
||||||
If Pos(strUpper(Config.qwkBBSID), strUpper(Temp)) = 0 Then Begin
|
If Pos(strUpper(Config.qwkBBSID), strUpper(Temp)) = 0 Then Begin
|
||||||
Session.io.OutFullLn (Session.GetPrompt(239));
|
Session.io.OutFullLn (Session.GetPrompt(239));
|
||||||
Close (DataFile);
|
Close (DataFile);
|
||||||
|
@ -3271,6 +3273,10 @@ Begin
|
||||||
|
|
||||||
Session.io.PromptInfo[1] := Temp;
|
Session.io.PromptInfo[1] := Temp;
|
||||||
|
|
||||||
|
If FileExist(Config.QwkWelcome) Then CopyFile(Config.qwkWelcome, Session.TempPath + JustFile(Config.qwkWelcome));
|
||||||
|
If FileExist(Config.QwkNews) Then CopyFile(Config.qwkNews, Session.TempPath + JustFile(Config.qwkNews));
|
||||||
|
If FileExist(Config.QwkGoodbye) Then CopyFile(Config.qwkGoodbye, Session.TempPath + JustFile(Config.qwkGoodbye));
|
||||||
|
|
||||||
If Session.LocalMode Then Begin
|
If Session.LocalMode Then Begin
|
||||||
Session.FileBase.ExecuteArchive (Config.QWKPath + Temp, Session.User.ThisUser.Archive, Session.TempPath + FileMask, 1);
|
Session.FileBase.ExecuteArchive (Config.QWKPath + Temp, Session.User.ThisUser.Archive, Session.TempPath + FileMask, 1);
|
||||||
Session.io.OutFullLn (Session.GetPrompt(235));
|
Session.io.OutFullLn (Session.GetPrompt(235));
|
||||||
|
|
Loading…
Reference in New Issue