Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

should have thought this through

  • Loading branch information...
commit 3b560809c1b49f8affc396ea772e5ec7028b2391 1 parent 5c96fcb
@hiredman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/hiredman/clojurebot/sb.clj
View
2  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")
Please sign in to comment.
Something went wrong with that request. Please try again.