attempted fix for #41 - /items/new crashes with TypeError. I added a null check against the characters feld on the user so that jade's each doesn't try to iterate through it if it is empty. This should only really ever occur for users in the db that are old enough to not have certain fields defined.
attempted fix for #41 - /items/new crashes with TypeError. I added a null check against the characters feld on the user so that jade's each doesn't try to iterate through it if it is empty. This should only really ever occur for users in the db that are old enough to not have certain fields defined.

ptmccarthy/nodechat