Diff

core/usermanager.lua @ 6663:d3023dd07cb6

portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations
author Matthew Wild <mwild1@gmail.com>
date Wed, 06 May 2015 19:20:07 +0100
parent 6628:8495734da243
child 6779:6236668da30a
line wrap: on
line diff
--- a/core/usermanager.lua	Wed May 06 19:17:59 2015 +0100
+++ b/core/usermanager.lua	Wed May 06 19:20:07 2015 +0100
@@ -29,7 +29,7 @@
 	local function dummy() return nil, "method not implemented"; end;
 	local function dummy_get_sasl_handler() return sasl_new(nil, {}); end
 	return setmetatable({name = "null", get_sasl_handler = dummy_get_sasl_handler}, {
-		__index = function(self, method) return dummy; end
+		__index = function(self, method) return dummy; end --luacheck: ignore 212
 	});
 end