kinda brutal way of stopping plugins being able to pass *s instead of attributes

This commit is contained in:
John McLear 2013-02-10 19:36:46 +00:00
parent a67a0950dd
commit 626ee97669
2 changed files with 6 additions and 2 deletions

View file

@ -146,12 +146,12 @@ exports.getPad = function(id, text, callback)
else
{
pad = new Pad(id);
//initalize the pad
pad.init(text, function(err)
{
if(ERR(err, callback)) return;
console.warn(pad);
globalPads.set(id, pad);
callback(null, pad);
});