diff options
author | Waqas Hussain <waqas20@gmail.com> | 2014-02-17 16:00:41 -0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2014-02-17 16:00:41 -0500 |
commit | 23a72948e91293a59e6c34a14b22e5d00f46d767 (patch) | |
tree | e3d0571c7cfb5fd00dd67ecd997f5ef5519b9269 | |
parent | bc6f1c6085f6e248acefa7dd110d5f21a262fe8f (diff) | |
download | prosody-23a72948e91293a59e6c34a14b22e5d00f46d767.tar.gz prosody-23a72948e91293a59e6c34a14b22e5d00f46d767.zip |
mod_auth_anonymous: Fixed a traceback in listing all users (issue#396).
-rw-r--r-- | plugins/mod_auth_anonymous.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_auth_anonymous.lua b/plugins/mod_auth_anonymous.lua index c877d532..8de46f8c 100644 --- a/plugins/mod_auth_anonymous.lua +++ b/plugins/mod_auth_anonymous.lua @@ -43,7 +43,7 @@ function provider.get_sasl_handler() end function provider.users() - return next, hosts[host].sessions, nil; + return next, hosts[module.host].sessions, nil; end -- datamanager callback to disable writes |