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

@@ -760,6 +760,8 @@ class Client {
return;
}
self.trigger("raw", dat);
//valid message
switch (dat.t) {
@@ -1050,7 +1052,7 @@ class Client {
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;
}