forked from snxraven/sshChat-CLI
Repair bug
This commit is contained in:
parent
7d0a31dab2
commit
c671572572
@ -214,8 +214,6 @@ rl.on('line', input => {
|
|||||||
// if (!LOGGEDIN) return console.log("Please login using /login [API KEY]")
|
// if (!LOGGEDIN) return console.log("Please login using /login [API KEY]")
|
||||||
if (input.startsWith("/") || input.startsWith("!")) return
|
if (input.startsWith("/") || input.startsWith("!")) return
|
||||||
|
|
||||||
if (input = "") return
|
|
||||||
|
|
||||||
for (const conn of conns) {
|
for (const conn of conns) {
|
||||||
conn.write(`${USERNAME}: ${input}`)
|
conn.write(`${USERNAME}: ${input}`)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user