Update padList correctly

fixes #1971
pull/1974/head
Marcel Klehr 2013-11-01 14:16:26 +01:00
parent e72511349d
commit 8ab2442cc9
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ exports.getPad = function(id, text, callback)
{
if(ERR(err, callback)) return;
globalPads.set(id, pad);
padList.addPad(id);
callback(null, pad);
});
}