diff --git a/functions/src/index.ts b/functions/src/index.ts index 784ea1c2b..ccf724c1e 100644 --- a/functions/src/index.ts +++ b/functions/src/index.ts @@ -81,6 +81,7 @@ export const send = functions.https.onCall(async (data, context) => { ws.send(`NICK ${userChannel}`); ws.send(`PRIVMSG #${targetChannel} :${message}`); ws.close(); + return; } throw new functions.https.HttpsError("invalid-argument", "invalid provider");