fixed redis path to config

This commit is contained in:
gempir 2017-03-12 10:49:49 +01:00
parent b61cabba4d
commit c105eeb494

View file

@ -21,7 +21,7 @@ func (uCfg *UserConfig) IsEnabled(channel, key string) bool {
return true
}
res, err := uCfg.rClient.HGet(channel, key).Result()
res, err := uCfg.rClient.HGet(channel + ":config", key).Result()
if err != nil {
return false