Always reject plugins that have a 0 priority but did not match the
shortcut list (being empty or not).
This makes 0 priority plugin only selectable using a shortcut (which I
think it is what we want).
if( b_strict )
continue;
}
- /* If we didn't require a shortcut, trash <= 0 scored plugins */
- else if( p_module->i_score <= 0 )
- {
+
+ /* Trash <= 0 scored plugins (they can only be selected by shortcut) */
+ if( p_module->i_score <= 0 )
continue;
- }
found_shortcut:
/* Store this new module */