Fix doesPadExist check

pull/503/merge
Peter 'Pita' Martischka 2012-02-27 14:13:47 +01:00
parent da2b456b5b
commit 973aad5c96
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ exports.doesPadExists = function(padId, callback)
db.get("pad:"+padId, function(err, value)
{
if(ERR(err, callback)) return;
callback(null, value != null);
callback(null, value != null && value.atext);
});
}