martindale/snarl — pull request #41 by mpickering (2013-03-25 19:23:49+00:00)
Title: Makes sure when database is empty, the bot does not crash.

Previous if the database was empty then the bot would crash trying to sort "undefined", this check fixes that problem by replacing undefined with an empty list in appropriate places.