From dd0ff999e47b2303137a9bd0af6b04dc1da4d89c Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Mon, 15 Aug 2011 20:06:14 +0100 Subject: [PATCH] Backed out changeset: 602945928c23 --- core/ExtensionSys.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/ExtensionSys.cpp b/core/ExtensionSys.cpp index 501374ef..9cecd5d8 100644 --- a/core/ExtensionSys.cpp +++ b/core/ExtensionSys.cpp @@ -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))