Merge pull request #1974 from ether/fix/fix-list-all-pads

Update padList correctly
pull/1984/head
Marcel Klehr 2013-11-02 04:28:01 -07:00
commit 68caa06eed
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; if(ERR(err, callback)) return;
globalPads.set(id, pad); globalPads.set(id, pad);
padList.addPad(id);
callback(null, pad); callback(null, pad);
}); });
} }