Skip to content

Commit

Permalink
Addendum #3 to dd0d929 (Added security features to the loader)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccw808 committed Aug 1, 2016
1 parent c4ef69a commit 9fd56d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Client/loader/MainFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,7 @@ void HandleOnQuitCommand( void )
{
strOperation = "open";
strFile = PathJoin( strMTASAPath, MTA_EXE_NAME );
CheckService ( CHECK_SERVICE_RESTART_GAME );
}
else
CheckService ( CHECK_SERVICE_POST_GAME ); // Stop service here if quit command is not 'restart'
Expand Down
1 change: 1 addition & 0 deletions Client/loader/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ enum
CHECK_SERVICE_POST_GAME = 5,
CHECK_SERVICE_PRE_CREATE = 6,
CHECK_SERVICE_POST_CREATE = 7,
CHECK_SERVICE_RESTART_GAME = 8,
};

#ifndef PROCESS_CREATION_MITIGATION_POLICY_IMAGE_LOAD_PREFER_SYSTEM32_ALWAYS_ON
Expand Down

0 comments on commit 9fd56d8

Please sign in to comment.