*simplify memory setting

This commit is contained in:
Derrick Hammer 2022-12-31 15:00:30 -05:00
parent 4264ca099e
commit c7d963c9b1
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 4 deletions

View File

@ -91,10 +91,7 @@ const plugin: Plugin = {
api = _api; api = _api;
setup(); setup();
if ( if (api.pluginConfig.bool("store.memory")) {
api.pluginConfig.bool("storememory") &&
!api.pluginConfig.bool("store")
) {
memStore = new NodeCache(); memStore = new NodeCache();
} }