mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-08 10:58:36 +00:00
Removed unnecessary check in RunFrame()
This commit is contained in:
parent
d7d8346482
commit
27256665ac
@ -698,9 +698,6 @@ void HTTPSessionManager::RunFrame()
|
|||||||
|
|
||||||
// Is the requesting plugin still alive?
|
// Is the requesting plugin still alive?
|
||||||
if (pCtx != NULL)
|
if (pCtx != NULL)
|
||||||
{
|
|
||||||
// TODO: this may be unnecessary
|
|
||||||
if (plsys->FindPluginByContext(request.pCtx->GetContext()))
|
|
||||||
{
|
{
|
||||||
funcid_t id = request.contextPack.pCallbackFunction->uPluginFunction;
|
funcid_t id = request.contextPack.pCallbackFunction->uPluginFunction;
|
||||||
IPluginFunction *pFunction = NULL;
|
IPluginFunction *pFunction = NULL;
|
||||||
@ -719,7 +716,6 @@ void HTTPSessionManager::RunFrame()
|
|||||||
pFunction->Execute(NULL);
|
pFunction->Execute(NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
this->callbacks.pop_front();
|
this->callbacks.pop_front();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user