summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-10-22 10:44:57 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-10-22 10:44:57 +0200
commitb9f1b9ccb47e6e329ba0ec70edda0cb8cc1e2d8b (patch)
tree1c4c01eab436cbbe3b2615f10eadca8b4ed89635
parent97ed64bd8cfd9f4b42e50adddc2975fe35817ad1 (diff)
Seed UnixTime
-rw-r--r--roulette.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/roulette.go b/roulette.go
index 3395be0..a09828e 100644
--- a/roulette.go
+++ b/roulette.go
@@ -55,7 +55,7 @@ func (_ RR) Help() string {
}
func init() {
- rand.Seed(time.Now().Unix())
+ rand.Seed(time.Now().UnixNano())
reload()
Register("ку", &RR{})
}