diff -r 2a5352e0e10e -r 0bda9b5b6a06 plugins/mod_saslauth.lua --- a/plugins/mod_saslauth.lua Mon Mar 30 03:23:23 2009 +0500 +++ b/plugins/mod_saslauth.lua Mon Mar 30 03:42:47 2009 +0500 @@ -107,7 +107,7 @@ -- TODO: Provide PLAIN only if TLS is active, this is a SHOULD from the introduction of RFC 4616. This behavior could be overridden via configuration but will issuing a warning or so. features:tag("mechanism"):text("PLAIN"):up(); features:tag("mechanism"):text("DIGEST-MD5"):up(); - if config.get(session.host or "*", "core", "sasl_anonymous") then + if config.get(session.host or "*", "core", "anonymous_login") then features:tag("mechanism"):text("ANONYMOUS"):up(); end features:up();