Permalink
Browse files

Upgrade clojail and blanket blacklist some namespaces.

  • Loading branch information...
Raynes committed Jun 20, 2012
1 parent 15f16cd commit c352b3ba6f635fc7b779c45dc273d1746aa12c48
Showing with 5 additions and 3 deletions.
  1. +1 −1 project.clj
  2. +4 −2 src/lazybot/plugins/clojure.clj
@@ -4,7 +4,7 @@
[commons-lang/commons-lang "2.5"]
[commons-io/commons-io "1.4"]
[backtype/clj-time "0.3.2"]
[clojail "0.5.0"]
[clojail "0.5.2"]
[clj-http "0.2.6"]
[irclj "0.4.1"]
[congomongo "0.1.7"]
@@ -1,6 +1,6 @@
(ns lazybot.plugins.clojure
(:use clojure.stacktrace
(clojail testers core)
(clojail testers core) ; What? What the fuck? Fix this. Fuck.
lazybot.registry
clojure.tools.logging
[lazybot.utilities :only [on-thread verify trim-string shorten-url]]
@@ -31,7 +31,9 @@
(str (and macro "Macro ") arglists "; " docs))))
(def sb
(sandbox (into secure-tester #{'somnium.congomongo 'clojail.core 'clojail.jvm})
(sandbox (blanket secure-tester
"somnium"
"lazybot")
:transform pr-str
:init '(defmacro doc [s]
(if (special-symbol? s)

0 comments on commit c352b3b

Please sign in to comment.