This should never happen but let's add a check for it anyway
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user