Archived
1
0
This commit is contained in:
Jeff Becker 2017-04-03 16:54:56 -04:00
parent af7205e8fe
commit 279ca91043

View File

@ -1168,7 +1168,7 @@ Chat.prototype.handleMessage = function (data) {
} else if (mtype == "ban" ) { } else if (mtype == "ban" ) {
self.connection.ban(data.Reason); self.connection.ban(data.Reason);
} else if (mtype == "error") { } else if (mtype == "error") {
self.insertChat(self.generateChat({PostMessage: data.Error, PostSubject: "Server Error", PostName: "Server"})) self.insertChat(self.generateChat({PostMessage: data.Error, PostSubject: "Server Error", PostName: "Server"}));
console.log("server error: "+data.Error); console.log("server error: "+data.Error);
} else { } else {
console.log("unknown message type "+mtype); console.log("unknown message type "+mtype);