aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_saslauth.lua
diff options
context:
space:
mode:
authorPaul Aurich <paul@darkrain42.org>2010-01-03 10:07:20 -0800
committerPaul Aurich <paul@darkrain42.org>2010-01-03 10:07:20 -0800
commitaf4bab0fbc01ccf1165508c211f12b90326bd4bd (patch)
tree03686d6cfc8d1523c5893ade9c06a8c84696bad9 /plugins/mod_saslauth.lua
parent2d4ffda23f29c8517d76ddbb5cf322c04d5bb7db (diff)
downloadprosody-af4bab0fbc01ccf1165508c211f12b90326bd4bd.tar.gz
prosody-af4bab0fbc01ccf1165508c211f12b90326bd4bd.zip
mod_saslauth: Oops.
Diffstat (limited to 'plugins/mod_saslauth.lua')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index 283f5e1d..2175a7c5 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -41,7 +41,7 @@ if sasl_backend == "cyrus" then
return cyrus_new(realm, module:get_option("cyrus_service_name") or "xmpp")
end
else
- if sasl_backend ~= "backend" then log("warning", "Unknown SASL backend %s", sasl_backend) end;
+ if sasl_backend ~= "builtin" then module:log("warn", "Unknown SASL backend %s", sasl_backend) end;
new_sasl = require "util.sasl".new;
end