Fix '=' instead of '==' typo on conditional
Merge pull request #3 from joshwalsh/patch-1

Fix for '=' instead of '==' typo on conditional