From 33ec196a7de63b39653b20bbecbe8972d5fb4547 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Mon, 13 Feb 2012 20:15:13 +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 e655dfa..00fbc67 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.Sandbox(); + var s = sandbox.Sandbox(); var commands = { '~js': function(data, params) {