Fix channel rank change

This commit is contained in:
calzoneman 2013-08-18 13:08:31 -05:00
parent 7254512e7d
commit 806cbb3336
1 changed files with 1 additions and 1 deletions

View File

@ -1982,7 +1982,7 @@ Channel.prototype.trySetRank = function(user, data) {
return;
if(rrank >= user.rank)
return;
self.server.db.setChannelRank(this.name, data.user,
self.server.db.setChannelRank(self.name, data.user,
data.rank, function (err, res) {
self.logger.log("*** " + user.name + " set " +