mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 19:42:06 +00:00
Fix a crash condition
This commit is contained in:
parent
bab2b887f4
commit
1f7a53a90b
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue