Fix a crash condition

This commit is contained in:
calzoneman 2013-08-18 18:03:49 -05:00
parent bab2b887f4
commit 1f7a53a90b
1 changed files with 1 additions and 0 deletions

View File

@ -1376,6 +1376,7 @@ Channel.prototype.tryDequeue = function(user, data) {
}
Channel.prototype.tryUncache = function(user, data) {
var self = this;
if(!Rank.hasPermission(user, "uncache")) {
return;
}