MatthewLavine / NodeJS-Chat

NodeJS based chat App
https://hardorange-chat.herokuapp.com/
MIT License
33 stars 11 forks source link

When attempting to do a pm, if you don't enter a message, pops wrong error. #21

Closed JoeParrinello closed 10 years ago

JoeParrinello commented 10 years ago

if you enter /pm userName with no message, rather than saying that it is not proper syntax, missing a message or userName, it says it doesn't know the command /pm.

JoeParrinello commented 10 years ago

Sorry, just edit the second error, it does recognize the issue that a message is missing.

MatthewLavine commented 10 years ago

Good catch, I have fixed this in afb9f38af4427cb8046b56b8eca4d2e711a8e3f1.