main.cc: Fix obsolete if-condition double check
Merge pull request #28 from pjanicki/fix_if

main.cc: Fix obsolete if-condition double check