diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-04-03 22:26:14 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-04-03 22:26:14 +0100 |
commit | 1b43f0146e5de1245f6bcbd4b4e0fbd2f513b863 (patch) | |
tree | d32d806a8e7e2e8432dee7d2d93722ce5b4c2acb /util/uuid.lua | |
parent | 64991c424da09a66155e95d571318bc8f057a35e (diff) | |
parent | 8e1f8ca95861cdc5fc23f92e8719250a22d061ec (diff) | |
download | prosody-1b43f0146e5de1245f6bcbd4b4e0fbd2f513b863.tar.gz prosody-1b43f0146e5de1245f6bcbd4b4e0fbd2f513b863.zip |
Merge 0.6/MattJ -> 0.6
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; |