From 21ebaf256ce519740b3c82e5f02275b931dc01cb Mon Sep 17 00:00:00 2001
From: scrufulufugus <smonson@irbash.net>
Date: Wed, 20 Jan 2021 11:44:38 -0800
Subject: [PATCH] Fixed turnary in toolshelper

---
 tools/toolshelper.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/toolshelper.ts b/tools/toolshelper.ts
index 1bd3c49..954afaa 100644
--- a/tools/toolshelper.ts
+++ b/tools/toolshelper.ts
@@ -28,7 +28,7 @@ export class ToolsHelper {
             registration: registration as IAppserviceRegistration,
         });
 
-        const store = needsStore ? new DiscordStore(config.database ? config.database.filename : "discord.db") : null;
+        const store = needsStore ? new DiscordStore(config.database) : null;
         return {
             appservice,
             config,
-- 
GitLab