forked from GitHub/dbot
		
	use sandbox module for running untrusted code because it has a timeout
This commit is contained in:
		
							parent
							
								
									eab3b30805
								
							
						
					
					
						commit
						33ec196a7d
					
				| @ -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) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Luke Slater
						Luke Slater