Skip to content

Commit

Permalink
patch update module
Browse files Browse the repository at this point in the history
  • Loading branch information
rezasp committed Mar 3, 2018
1 parent 4e56b7a commit a4588da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/update.pl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
my $response = $browser->get('http://raw.githubusercontent.com/rezasp/joomscan/master/version');

if($response->is_success){
if($response->decoded_content =~ /$version/)
if($response->decoded_content !~ /$version/)
{
print "\n[!] New version available on http://github.com/rezasp/joomscan \n\n";
}else
Expand Down

0 comments on commit a4588da

Please sign in to comment.