From c7d963c9b11c7ae1a6b2f6d843bbaace60dc905c Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 31 Dec 2022 15:00:30 -0500 Subject: [PATCH] *simplify memory setting --- src/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 5d3eed4..4f0f2a1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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(); }