diff --git a/src/WSServer.ts b/src/WSServer.ts index 28ea690..8482f84 100644 --- a/src/WSServer.ts +++ b/src/WSServer.ts @@ -207,6 +207,7 @@ export default class WSServer { break; case "chat": if (!client.username) return; + if (!client.connectedToNode) return; if (client.IP.muted) return; if (msgArr.length !== 2) return; var msg = Utilities.HTMLSanitize(msgArr[1]);