Permalink
Browse files

should have thought this through

  • Loading branch information...
1 parent 5c96fcb commit 3b560809c1b49f8affc396ea772e5ec7028b2391 @hiredman committed Jun 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hiredman/clojurebot/sb.clj
@@ -50,7 +50,7 @@
(defn eval-request? [{:keys [message]}]
(and message (re-find #"^," (.trim message))))
-(let [n (rand-int 1000)]
+(let [n (str (java.util.UUID/randomUUID))]
(defn eval-message [{:keys [message sender config] :as bag}]
(if (and (not (naughty-forms? message))
(not= sender "itistoday")

0 comments on commit 3b56080

Please sign in to comment.