*Use basic truthy check

This commit is contained in:
Derrick Hammer 2023-01-31 07:42:36 -05:00
parent ae9c6eeb60
commit fb471accce
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ export abstract class Client {
export async function load(
module?: string
): Promise<ModuleBag | ModuleBagBound> {
if (callModule !== null && connectModule !== null) {
if (callModule && connectModule) {
if (module) {
return {
callModule: callModule.bind(undefined, module),