fix a typo that causes stack traces whan searching for 'app:client'

git-svn-id: file:///home/svn/framework3/trunk@13220 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
James Lee 2011-07-19 08:35:25 +00:00
parent 115a331e6b
commit c39d75ceee
1 changed files with 2 additions and 2 deletions

View File

@ -683,8 +683,8 @@ class Module
match = [t,w] if (w == "auxiliary" and is_auxiliary)
match = [t,w] if (w == "post" and is_post)
when 'app'
match = [t,w] if (w == "server" and is_server_exploit)
match = [t,w] if (w == "client" and is_client_exploit)
match = [t,w] if (w == "server" and is_server)
match = [t,w] if (w == "client" and is_client)
when 'cve'
match = [t,w] if refs.any? { |ref| ref =~ /^cve\-/i and ref =~ r }
when 'bid'