Diff

plugins/mod_auth_anonymous.lua @ 6023:93b4058e3320

mod_auth_anonymous: Fixed a traceback in listing all users (issue#396).
author Waqas Hussain <waqas20@gmail.com>
date Mon, 17 Feb 2014 16:00:41 -0500
parent 5370:7838acadb0fa
child 8053:7d26dab7ce0d
line wrap: on
line diff
--- a/plugins/mod_auth_anonymous.lua	Sun Feb 09 15:17:01 2014 +0100
+++ b/plugins/mod_auth_anonymous.lua	Mon Feb 17 16:00:41 2014 -0500
@@ -43,7 +43,7 @@
 end
 
 function provider.users()
-	return next, hosts[host].sessions, nil;
+	return next, hosts[module.host].sessions, nil;
 end
 
 -- datamanager callback to disable writes