From 4e378598de3fa5ca92b5cec696966626a41cef5e Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 7 Jun 2010 02:38:20 +0500 Subject: mod_auth_internal, mod_auth_internal_hashed: Fixed a global access. --- plugins/mod_auth_internal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_auth_internal.lua') diff --git a/plugins/mod_auth_internal.lua b/plugins/mod_auth_internal.lua index 0fc6e487..1c426030 100644 --- a/plugins/mod_auth_internal.lua +++ b/plugins/mod_auth_internal.lua @@ -76,7 +76,7 @@ function new_default_provider(host) end function provider.get_sasl_handler() - local realm = module:get_option("sasl_realm") or origin.host; + local realm = module:get_option("sasl_realm") or module.host; local getpass_authentication_profile = { plain = function(username, realm) local prepped_username = nodeprep(username); -- cgit v1.2.3