From eab3b308056d33678c2d78196fcde920e0e69378 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Mon, 13 Feb 2012 20:13:26 +0000 Subject: [PATCH] use sandbox module for running untrusted code because it has a timeout --- modules/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/js.js b/modules/js.js index 6069b0c..e655dfa 100644 --- a/modules/js.js +++ b/modules/js.js @@ -3,7 +3,7 @@ var sandbox = require('sandbox'); var js = function(dbot) { var dbot = dbot; - var s = new Sandbox(); + var s = new sandbox.Sandbox(); var commands = { '~js': function(data, params) {