mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-08 02:48:34 +00:00
Minor optimization
This commit is contained in:
parent
27256665ac
commit
3ae505229b
@ -700,8 +700,7 @@ void HTTPSessionManager::RunFrame()
|
|||||||
if (pCtx != NULL)
|
if (pCtx != NULL)
|
||||||
{
|
{
|
||||||
funcid_t id = request.contextPack.pCallbackFunction->uPluginFunction;
|
funcid_t id = request.contextPack.pCallbackFunction->uPluginFunction;
|
||||||
IPluginFunction *pFunction = NULL;
|
IPluginFunction *pFunction = pCtx->GetFunctionById(id);
|
||||||
pFunction = pCtx->GetFunctionById(id);
|
|
||||||
|
|
||||||
if (pFunction != NULL)
|
if (pFunction != NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user