Change default protocol logic

This commit is contained in:
mysticbbs 2012-08-21 13:06:35 -04:00
parent 7b9a525c06
commit c9a65ae034
1 changed files with 5 additions and 4 deletions

View File

@ -932,10 +932,11 @@ Begin
Else
ThisUser.ScreenSize := Config.DefScreenSize;
If Config.UserProtocol > 0 Then
ThisUser.Protocol := Session.FileBase.SelectProtocol(False, True)
Else
ThisUser.Protocol := Config.FProtocol;
Case Config.UserProtocol of
0 : ThisUser.Protocol := #0;
1 : ThisUser.Protocol := Config.FProtocol;
2 : ThisUser.Protocol := Session.FileBase.SelectProtocol(False, True);
End;
GetPassword(False);
End;