Changeset

4762:943f9f860ab4

mod_auth_internal_plain: Remove unused imports
author Matthew Wild <mwild1@gmail.com>
date Sat, 28 Apr 2012 03:49:13 +0100
parents 4761:178f252c31b0
children 4763:322b7335fbf3
files plugins/mod_auth_internal_plain.lua
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_auth_internal_plain.lua	Sat Apr 28 03:43:27 2012 +0100
+++ b/plugins/mod_auth_internal_plain.lua	Sat Apr 28 03:49:13 2012 +0100
@@ -7,19 +7,11 @@
 --
 
 local datamanager = require "util.datamanager";
-local log = require "util.logger".init("auth_internal_plain");
-local type = type;
-local error = error;
-local ipairs = ipairs;
-local hashes = require "util.hashes";
-local jid_bare = require "util.jid".bare;
-local config = require "core.configmanager";
 local usermanager = require "core.usermanager";
 local new_sasl = require "util.sasl".new;
 local nodeprep = require "util.encodings".stringprep.nodeprep;
-local hosts = hosts;
 
-local prosody = _G.prosody;
+local log = module._log;
 
 function new_default_provider(host)
 	local provider = { name = "internal_plain" };