Add login log message
This commit is contained in:
parent
54226c0ca5
commit
85c62b1579
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue