doughsay/room.js — pull request #38 by cbankester (2013-06-23 21:43:05+00:00)
Title: Possible fix for eval server-crashing

Problem was, when submitting "eval", it gets parsed into verb + args, where args end up all being undefined. Solution is to just check to make sure args isn't undefined before calling things like .replace, etc. This also makes sense as to why ` wasn't throwing an error, since it gets parsed as a special into "eval " (note the trailing space), which got picked up as verb eval + blank (non-undefined) args.