Fix typo stopping plugins from reaching ext dep lists (bug 5851, r=fyren).

This commit is contained in:
Peace-Maker 2013-09-30 12:26:45 -04:00
parent fbc851ceae
commit 985b7831cf

View File

@ -342,7 +342,7 @@ void CExtension::MarkAllLoaded()
void CExtension::AddPlugin(CPlugin *pPlugin)
{
/* Unfortunately we have to do this :( */
if (m_Dependents.find(pPlugin) != m_Dependents.end())
if (m_Dependents.find(pPlugin) == m_Dependents.end())
{
m_Dependents.push_back(pPlugin);
}