fixed redis path to config
This commit is contained in:
parent
b61cabba4d
commit
c105eeb494
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue