mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 02:18:35 +00:00
Restricted cloning handles
This commit is contained in:
parent
8be2a981dd
commit
8c45fcfc5d
@ -98,7 +98,7 @@ bool CurlExt::SDK_OnLoad(char *error, size_t maxlength, bool late)
|
||||
g_pHandleSys->InitAccessDefaults(NULL, &dldrRules);
|
||||
dldrRules.access[HandleAccess_Clone] = HANDLE_RESTRICT_IDENTITY;
|
||||
g_DownloadHandle = g_pHandleSys->CreateType("HTTPDownloader",
|
||||
&g_DownloadHandler, 0, 0, NULL, myself->GetIdentity(), NULL);
|
||||
&g_DownloadHandler, 0, 0, &dldrRules, myself->GetIdentity(), NULL);
|
||||
plsys->AddPluginsListener(this);
|
||||
smutils->AddGameFrameHook(&OnGameFrame);
|
||||
g_SessionManager.Initialize();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user