Mercurial > prosody-modules
changeset 3660:11cd6e034fd3
mod_auth_external: Improve error handling when non-blocking mode used without libevent
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 30 Aug 2019 13:28:30 +0100 |
parents | bb8a6df5ecba |
children | 88d414c916ee |
files | mod_auth_external/mod_auth_external.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_auth_external/mod_auth_external.lua Thu Aug 29 23:35:42 2019 +0200 +++ b/mod_auth_external/mod_auth_external.lua Fri Aug 30 13:28:30 2019 +0100 @@ -30,6 +30,7 @@ if not blocking then + assert(server.event, "External auth non-blocking mode requires libevent installed and enabled"); log("debug", "External auth in non-blocking mode, yay!") waiter, guard = async.waiter, async.guarder(); elseif auth_processes > 1 then