Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jvazquez-r7 committed Aug 13, 2013
1 parent 568181d commit bc9a26d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def on_request_uri(cli, request)
return
end

if agent !~ /Firefox\/17/ or agent !~ /Firefox\/21/
if agent !~ /Firefox\/17/ and agent !~ /Firefox\/21/
print_error("Browser not supported, sending 404: #{agent}")
send_not_found(cli)
return
Expand Down

0 comments on commit bc9a26d

Please sign in to comment.