Remove unnesecary if
Merge pull request #9 from VitSalis/master

Remove unnesecary if