diff options
author | Tobias Markmann <tm@ayena.de> | 2009-11-19 16:44:37 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2009-11-19 16:44:37 +0100 |
commit | c52c4021b0c8e890bb7334fdbf00b9550b17e21f (patch) | |
tree | 91b7396999c62e8602854eb45d9bae4298fb20ee | |
parent | 5ee762728b5acc38906ae3ba5523ded1f0d7005c (diff) | |
download | prosody-c52c4021b0c8e890bb7334fdbf00b9550b17e21f.tar.gz prosody-c52c4021b0c8e890bb7334fdbf00b9550b17e21f.zip |
Use new cofig option reading API.
-rw-r--r-- | plugins/mod_saslauth.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index 2223f056..04e33b29 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -137,7 +137,7 @@ module:add_event_hook("stream-features", if secure_auth_only and not session.secure then return; end - if config.get(session.host or "*", "core", "anonymous_login") then + if module:get_option("anonymous_login") then session.sasl_handler = new_sasl(session.host, anonymous_authentication_profile); else session.sasl_handler = new_sasl(session.host, default_authentication_profile); |