Has '=' instead of '=='

The 'else' condition would never be met, otherwise...
Merge pull request #2 from yanick/master

Has '=' instead of '=='