diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-04-03 23:09:59 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-04-03 23:09:59 +0100 |
commit | 474f0d46466077959d3cff8ed4f51bebdda835db (patch) | |
tree | 266e3395805b6fcea3d7a01dcda27037d2f09fb9 /util/uuid.lua | |
parent | af3bc714626c4e7b5299ef675bb244e963c1cfaa (diff) | |
parent | 89e9f18d2ac62feb42a56a87ef0836a886da5d76 (diff) | |
download | prosody-474f0d46466077959d3cff8ed4f51bebdda835db.tar.gz prosody-474f0d46466077959d3cff8ed4f51bebdda835db.zip |
Merge 0.7->trunk
Diffstat (limited to 'util/uuid.lua')
-rw-r--r-- | util/uuid.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/uuid.lua b/util/uuid.lua index d46f8665..796c8ee4 100644 --- a/util/uuid.lua +++ b/util/uuid.lua @@ -32,7 +32,7 @@ local function _seed(x) buffer = new_random(buffer..x); end local function get_nibbles(n) - if #buffer < n then seed(uniq_time()); end + if #buffer < n then _seed(uniq_time()); end local r = buffer:sub(0, n); buffer = buffer:sub(n+1); return r; |