Fixed invites

This commit is contained in:
hydrabolt
2015-08-25 14:30:03 +01:00
parent 659fdf5bff
commit dd941ab604
8 changed files with 294 additions and 172 deletions

View File

@@ -37,7 +37,7 @@ var Server = (function () {
// get a user from this server's member list,
// it will be identical (unless an async change occurred)
// to the client's cache.
this.members.push(client.addUser(member.user));
if (member.user) this.members.push(client.addUser(member.user));
}
} catch (err) {
_didIteratorError = true;