From 13cb96af14b0350336f2de30e4a5b310ba8e9d54 Mon Sep 17 00:00:00 2001 From: raven Date: Mon, 9 Jan 2023 01:55:25 -0500 Subject: [PATCH] Removing the names storage, not needed anymore --- sshChat.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sshChat.mjs b/sshChat.mjs index cb2c45a..df33cb6 100644 --- a/sshChat.mjs +++ b/sshChat.mjs @@ -16,7 +16,6 @@ goodbye(() => swarm.destroy()) // Keep track of all connections and USERNAMEs const conns = [] -const names = {} let USERPWD = "/" let DAPI_KEY = {} let USERNAME = "annon" + rand @@ -231,5 +230,5 @@ const discovery = swarm.join(topic, { client: true, server: true }) discovery.flushed().then(() => { console.log(`joined topic: ${b4a.toString(topic, 'hex')}\n(Share this key to others so they may join.)`) console.log('You are now in a chatroom for your topic, feel free to chat.\n') - console.log('Want to login to the SSH.SURF API? Type "/login [APIKEY]" to login.') + console.log('Want to login to the SSH.SURF API? Type "/login [APIKEY]" to login.\n\n') })