lib/scanner/apache.rb in yawast-0.3.0.beta1 vs lib/scanner/apache.rb in yawast-0.3.0.beta2
- old
+ new
@@ -1,10 +1,10 @@
module Yawast
module Scanner
class Apache
def self.check_banner(banner)
#don't bother if this doesn't look like Apache
- return if !banner.include? 'Apache'
+ return unless banner.include? 'Apache'
@apache = true
modules = banner.split(' ')
server = modules[0]