Changeset

2418:c35deaea53b9

mod_saslauth: Oops.
author Paul Aurich <paul@darkrain42.org>
date Sun, 03 Jan 2010 10:07:20 -0800
parents 2417:70f65a48f05e
children 2419:00d985639a06
files plugins/mod_saslauth.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Sun Jan 03 17:54:26 2010 +0000
+++ b/plugins/mod_saslauth.lua	Sun Jan 03 10:07:20 2010 -0800
@@ -41,7 +41,7 @@
 			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