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" ) {
self.connection.ban(data.Reason);
} 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);
} else {
console.log("unknown message type "+mtype);