diff --git a/modules/js.js b/modules/js.js index 37c98c1..9547c85 100644 --- a/modules/js.js +++ b/modules/js.js @@ -1,8 +1,9 @@ var vm = require('vm'); -var s = require('sandbox')(); +var sbox = require('sandbox'); var js = function(dbot) { var dbot = dbot; + var s = new sbox(); var commands = { '~js': function(data, params) {