changeset 2838 | 3fb5f173f213 |
parent 2834 | 92f6f82397c9 |
child 3392 | c458f940b011 |
--- a/mod_auth_external/mod_auth_external.lua Sat Nov 18 00:47:44 2017 +0100 +++ b/mod_auth_external/mod_auth_external.lua Sat Nov 18 01:01:59 2017 +0100 @@ -50,6 +50,8 @@ end end +module:hook_global("server-cleanup", module.unload); + local curr_process = 0; function send_query(text) curr_process = (curr_process%auth_processes)+1;