Favor \! vs == false

bug/bundler_fix
jvazquez-r7 2014-02-24 08:47:25 -06:00
parent 8af992e083
commit 9fd635d645
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class EncodedPayload
# options first of all. For the 'generic/none' encoder compatibility
# options don't apply.
if (reqs['Exploit'] &&
reqs['Exploit'].compatible?(self.encoder) == false &&
!reqs['Exploit'].compatible?(self.encoder) &&
encname !~ /generic\/none/)
wlog("#{pinst.refname}: Encoder #{encoder.refname} doesn't match the exploit Compat options",
'core', LEV_1)