fixed if statement check
Merge branch 'master' of https://github.com/cmnjcs/pantry