Skip to content

Commit

Permalink
More reliable Config.loginfilter
Browse files Browse the repository at this point in the history
  • Loading branch information
Zarel committed Jun 24, 2015
1 parent aa2dad5 commit 5f556f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions users.js
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,7 @@ User = (function () {
if (this.named) user.prevNames[this.userid] = this.name;
this.destroy();
Rooms.global.checkAutojoin(user);
if (Config.loginfilter) Config.loginfilter(user);
return true;
}

Expand Down

0 comments on commit 5f556f0

Please sign in to comment.