github/hubot-scripts — pull request #684 by omega (2013-01-09 03:30:24+00:00)
Title: Make redis-brain only save after loaded once

I have this problem where sometimes the bot will tell the brain to save before it has loaded. If this happens while the redis-brain is connected, but before it has loaded, it will overwrite the data with an empty users hash, loosing all the data in the brain. This simple guard should fix this, but it might be more appropriate to fix this in the `brain.coffee` of hubot himself?