Fixed unavailable message

This commit is contained in:
hydrabolt
2015-09-27 17:17:03 +01:00
parent 0079775886
commit 5819fb4daf
3 changed files with 7 additions and 3 deletions

View File

@@ -778,6 +778,8 @@ var Client = (function () {
return;
}
self.trigger("raw", dat);
//valid message
switch (dat.t) {
@@ -1150,7 +1152,7 @@ var Client = (function () {
if (data.unavailable) {
self.trigger("unavailable", data);
self.debug("Server ID" + +" has been marked unavailable by Discord. It was not cached.");
self.debug("Server ID " + data.id + " has been marked unavailable by Discord. It was not cached.");
return;
}