3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00

Not sure what the hell is up with this package

This commit is contained in:
Luke Slater 2012-02-13 20:21:57 +00:00
parent c20e5b61f2
commit d5ef51e506

View File

@ -1,8 +1,9 @@
var vm = require('vm'); var vm = require('vm');
var s = require('sandbox')(); var sbox = require('sandbox');
var js = function(dbot) { var js = function(dbot) {
var dbot = dbot; var dbot = dbot;
var s = new sbox();
var commands = { var commands = {
'~js': function(data, params) { '~js': function(data, params) {