summaryrefslogtreecommitdiff
path: root/lib/supple/comms.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/supple/comms.lua')
-rw-r--r--lib/supple/comms.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/supple/comms.lua b/lib/supple/comms.lua
index ea80fad..639ce33 100644
--- a/lib/supple/comms.lua
+++ b/lib/supple/comms.lua
@@ -79,7 +79,9 @@ local function captcha(msg)
end
local limits = {}
-local count_per_hook = 10
+math.randomseed(os.time())
+math.randomseed(math.random(luxio.getpid()))
+local count_per_hook = 10 + (math.random(5) - 3)
local limiting = false
local function limit_hook()