From e16419b33691eb3a04fbfb36c259bdb04dfda578 Mon Sep 17 00:00:00 2001 From: Josh Burman Date: Mon, 25 Mar 2019 11:16:08 -0400 Subject: [PATCH] more proper casing --- src/clientManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clientManager.ts b/src/clientManager.ts index a2cfd64..aff5815 100644 --- a/src/clientManager.ts +++ b/src/clientManager.ts @@ -68,7 +68,7 @@ class ClientManager { getClientType(data: any, channelManager: ChannelManager, ws: WebSocket) { try { - var Client = require(`./clients/${data.client_type}s/${data.client}client`); + var Client = require(`./clients/${data.client_type}s/${data.client}Client`); logger.accessLog.info(`attempting to create client of type ${data.client}, client id: ${data.user_id}...`); return new Client(data, ws, channelManager, this); } catch (e) {