Added functionality to list pads on this server.

This commit is contained in:
Swen 2013-01-08 20:14:01 +01:00
parent a42f220ee2
commit 198754222d
4 changed files with 97 additions and 3 deletions

View file

@ -473,8 +473,7 @@ Pad.prototype.remove = function remove(callback) {
//delete the pad entry and delete pad from padManager
function(callback)
{
db.remove("pad:"+padID);
padManager.unloadPad(padID);
padManager.removePad(padID);
hooks.callAll("padRemove", {'padID':padID});
callback();
}