fix behaviour when no nick given
Merge pull request #2 from nathan7/master

fix behaviour when no nick given