Mercurial > prosody-modules
diff mod_c2s_conn_throttle/mod_c2s_conn_throttle.lua @ 929:9eefbaba274d
mod_c2s_conn_throttle: shorten / update header, as wiki was added.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Tue, 12 Mar 2013 19:05:03 +0100 |
parents | 15763c1d085c |
children | 7dbde05b48a9 |
line wrap: on
line diff
--- a/mod_c2s_conn_throttle/mod_c2s_conn_throttle.lua Thu Mar 07 18:26:07 2013 +0100 +++ b/mod_c2s_conn_throttle/mod_c2s_conn_throttle.lua Tue Mar 12 19:05:03 2013 +0100 @@ -1,9 +1,5 @@ -- Clients Connection Throttler. --- Usage: --- Add the module into modules loaded into the virtual host section --- --- cthrottler_logins_count = 3 -> number of logins attempt allowed --- cthrottler_time = 120 -> in x seconds +-- (C) 2012-2013, Marco Cirillo (LW.Org) local time = os.time local in_count = {}