Pad list cache: You can't change the cache if it's not initiated
(as per 200f250717
- doh.)
This commit is contained in:
parent
ef4e0d0eb0
commit
22b0bafafd
|
@ -60,10 +60,10 @@ var padList = {
|
|||
{
|
||||
if(ERR(err, cb)) return;
|
||||
if(dbData != null){
|
||||
padList.initiated = true
|
||||
dbData.forEach(function(val){
|
||||
padList.addPad(val.replace(/pad:/,""),false);
|
||||
});
|
||||
padList.initiated = true
|
||||
cb && cb()
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue