mirror of https://github.com/calzoneman/sync.git
Fix a crash condition
This commit is contained in:
parent
bab2b887f4
commit
1f7a53a90b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue