Fix typo stopping plugins from reaching ext dep lists (bug 5851, r=fyren).
Fix typo stopping plugins from reaching ext dep lists (
bug 5851, r=fyren).
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 }