Client now emits unknown and hidden some properties of Cache

Cache.discrim and Cache.discrimCache are now hidden from for..in
This commit is contained in:
Amish Shah
2015-12-12 17:28:37 +00:00
parent cb58bc5414
commit 8eb4c47f79
4 changed files with 30 additions and 23 deletions

View File

@@ -1370,6 +1370,9 @@ export default class InternalClient {
client.emit("warn", "user unbanned but user/server not in cache.");
}
break;
default:
client.emit("unknown", packet);
break;
}
};
}