aboutsummaryrefslogtreecommitdiffstats
path: root/util/uuid.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/uuid.lua')
-rw-r--r--util/uuid.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/uuid.lua b/util/uuid.lua
index 5a355b02..cc5cae82 100644
--- a/util/uuid.lua
+++ b/util/uuid.lua
@@ -9,10 +9,11 @@
local m_random = math.random;
+local tostring = tostring;
module "uuid"
function generate()
- return m_random(0, 99999999);
+ return tostring(m_random(0, 99999999));
end
return _M; \ No newline at end of file