aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2014-02-17 16:00:41 -0500
committerWaqas Hussain <waqas20@gmail.com>2014-02-17 16:00:41 -0500
commitb726ceea219ae65cb54ebc447406fdcf5631d278 (patch)
treee3d0571c7cfb5fd00dd67ecd997f5ef5519b9269 /plugins
parent597ed4b1b52b87d9c4ff8450d8f6309238c21bed (diff)
downloadprosody-b726ceea219ae65cb54ebc447406fdcf5631d278.tar.gz
prosody-b726ceea219ae65cb54ebc447406fdcf5631d278.zip
mod_auth_anonymous: Fixed a traceback in listing all users (issue#396).
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_auth_anonymous.lua2
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