Fixup for undefined redis[server] config param

This commit is contained in:
Scott Schneider 2014-02-18 11:28:25 -08:00
parent c88961a76f
commit 36e06cb731

View file

@ -25,6 +25,7 @@ redis = $config[:redis]
$logger = Logger.new $config[:config]['logfile']
# Set some defaults
$config[:redis] ||= Hash.new
$config[:redis]['server'] ||= 'localhost'
# Connect to Redis