Fix typo stopping plugins from reaching ext dep lists (bug 5851, r=fyren).
This commit is contained in:
		
							parent
							
								
									fbc851ceae
								
							
						
					
					
						commit
						985b7831cf
					
				@ -342,7 +342,7 @@ void CExtension::MarkAllLoaded()
 | 
				
			|||||||
void CExtension::AddPlugin(CPlugin *pPlugin)
 | 
					void CExtension::AddPlugin(CPlugin *pPlugin)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	/* Unfortunately we have to do this :( */
 | 
						/* 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);
 | 
							m_Dependents.push_back(pPlugin);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user