Fix bug when not updating type

This commit is contained in:
James Barnett
2018-02-08 16:07:20 -06:00
parent f12405191e
commit effd0c3db2
+1 -1
View File
@@ -1224,7 +1224,7 @@ module Msf
if mode == :update
begin
loot.info = info if info
if types.size > 1
if types && types.size > 1
print_error "May only pass 1 type when performing an update."
next
end