Diff

plugins/mod_saslauth.lua @ 2418:c35deaea53b9

mod_saslauth: Oops.
author Paul Aurich <paul@darkrain42.org>
date Sun, 03 Jan 2010 10:07:20 -0800
parent 2415:eb383f58624b
child 2450:03bb0e6d87d5
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