*simplify memory setting
This commit is contained in:
parent
4264ca099e
commit
c7d963c9b1
|
@ -91,10 +91,7 @@ const plugin: Plugin = {
|
|||
api = _api;
|
||||
setup();
|
||||
|
||||
if (
|
||||
api.pluginConfig.bool("storememory") &&
|
||||
!api.pluginConfig.bool("store")
|
||||
) {
|
||||
if (api.pluginConfig.bool("store.memory")) {
|
||||
memStore = new NodeCache();
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue