lib/whatweb/plugins/punbb.rb in simple_whatweb-0.2.1 vs lib/whatweb/plugins/punbb.rb in simple_whatweb-0.3.0
- old
+ new
@@ -90,12 +90,10 @@
version = thisfile[:version] if downloads[thisfile[:path]][:md5sum] == thisfile[:md5]
end
end
# Set version if present
- unless version.nil?
- m << { name: "md5 sums of files", version: version }
- end
+ m << { name: "md5 sums of files", version: version } if version
# Return aggressive matches
m
end
end