rapid7/metasploit-framework — pull request #975 by scriptjunkie (2012-10-27 21:29:01+00:00)
Title: Fix search error when platform not in target name

Check the module platform, not just the target names.