use sandbox module for running untrusted code because it has a timeout

This commit is contained in:
Luke Slater 2012-02-13 20:17:24 +00:00
parent 33ec196a7d
commit bc4dfb0003

View File

@ -3,7 +3,7 @@ var sandbox = require('sandbox');
var js = function(dbot) {
var dbot = dbot;
var s = sandbox.Sandbox();
var s = new Sandbox();
var commands = {
'~js': function(data, params) {