Backed out changeset: 602945928c23
This commit is contained in:
parent
05e5c93e91
commit
dd0ff999e4
@ -182,16 +182,6 @@ bool CLocalExtension::Load(char *error, size_t maxlength)
|
||||
{
|
||||
bool already;
|
||||
m_PlId = g_pMMPlugins->Load(m_Path.c_str(), g_PLID, already, error, maxlength);
|
||||
|
||||
// Check the plugin didn't refuse load
|
||||
Pl_Status status;
|
||||
if (!m_PlId || (g_pMMPlugins->Query(m_PlId, NULL, &status, NULL) && status < Pl_Paused))
|
||||
{
|
||||
m_pLib->CloseLibrary();
|
||||
m_pLib = NULL;
|
||||
m_pAPI = NULL;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (!CExtension::Load(error, maxlength))
|
||||
|
Loading…
Reference in New Issue
Block a user