util.sasl_cyrus: Further fixing and cleanup.
authorTobias Markmann <tm@ayena.de>
Tue, 22 Dec 2009 21:08:58 +0100
changeset 2394 a2972f9fda6d
parent 2393 1572be348f88
child 2395 7d7618c21321
util.sasl_cyrus: Further fixing and cleanup.
util/sasl_cyrus.lua
--- a/util/sasl_cyrus.lua	Tue Dec 22 20:55:35 2009 +0100
+++ b/util/sasl_cyrus.lua	Tue Dec 22 21:08:58 2009 +0100
@@ -19,17 +19,17 @@
 local pairs, ipairs = pairs, ipairs;
 local t_insert, t_concat = table.insert, table.concat;
 local s_match = string.match;
+local setmetatable = setmetatable
 
 local keys = keys;
 
 local print = print
+local pcall = pcall
 
 module "sasl_cyrus"
 
 local method = {};
 method.__index = method;
-local mechanisms = {};
-local backend_mechanism = {};
 
 pcall(cyrussasl.server_init, "prosody")