Software /
code /
prosody
Changeset
2957:805b067cd13e
util.uuid: Use a local instead of a global.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 01 Apr 2010 19:27:26 +0500 |
parents | 2956:15a145a67044 |
children | 2958:49d6bf241653 |
files | util/uuid.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/uuid.lua Thu Apr 01 19:12:08 2010 +0500 +++ b/util/uuid.lua Thu Apr 01 19:27:26 2010 +0500 @@ -32,7 +32,7 @@ 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;