diff --git a/lib/channel.js b/lib/channel.js index 293a6fc3..4480a4e7 100644 --- a/lib/channel.js +++ b/lib/channel.js @@ -209,7 +209,7 @@ Channel.prototype.tryLoadState = function () { */ Channel.prototype.loadState = function () { var self = this; - if (self.error) { + if (self.error || self.dead) { return; } @@ -558,6 +558,7 @@ Channel.prototype.join = function (user) { self.sendUserJoin(self.users, user); self.sendUserlist([user]); + self.logger.log("[login] " + user.ip + " logged in as " + user.name); }; var afterIPBan = function () {