Fix typo stopping plugins from reaching ext dep lists (bug 5851, r=fyren).
authorPeace-Maker <januk@freenet.de>
Mon Sep 30 12:26:45 2013 -0400 (2013-09-30)
changeset 4131b6d0746d0337
parent 4130 8eaa746585d2
child 4132 573937d3a538
Fix typo stopping plugins from reaching ext dep lists (bug 5851, r=fyren).
core/logic/ExtensionSys.cpp
     1.1 --- a/core/logic/ExtensionSys.cpp	Thu Sep 26 21:04:51 2013 -0400
     1.2 +++ b/core/logic/ExtensionSys.cpp	Mon Sep 30 12:26:45 2013 -0400
     1.3 @@ -342,7 +342,7 @@
     1.4  void CExtension::AddPlugin(CPlugin *pPlugin)
     1.5  {
     1.6  	/* Unfortunately we have to do this :( */
     1.7 -	if (m_Dependents.find(pPlugin) != m_Dependents.end())
     1.8 +	if (m_Dependents.find(pPlugin) == m_Dependents.end())
     1.9  	{
    1.10  		m_Dependents.push_back(pPlugin);
    1.11  	}