Hopefully fix typecheckedOn bug
This commit is contained in:
parent
cf60994895
commit
2b800f2a9a
|
@ -364,6 +364,7 @@ Channel.prototype.acceptUser = function (user) {
|
|||
|
||||
user.socket.on("disconnect", this.partUser.bind(this, user));
|
||||
Object.keys(this.modules).forEach(function (m) {
|
||||
if (user.dead) return;
|
||||
self.modules[m].onUserPostJoin(user);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue