aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_internal_plain.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-28 03:49:13 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-28 03:49:13 +0100
commit5abd2aa3e78aabaeb8a2c7543a751c85a1979742 (patch)
treead3d7e0a5cb5aee31b5499d876c1fb2684ae0951 /plugins/mod_auth_internal_plain.lua
parent15f19658873274eb0712a8785f393e2ccfbeabb0 (diff)
downloadprosody-5abd2aa3e78aabaeb8a2c7543a751c85a1979742.tar.gz
prosody-5abd2aa3e78aabaeb8a2c7543a751c85a1979742.zip
mod_auth_internal_plain: Remove unused imports
Diffstat (limited to 'plugins/mod_auth_internal_plain.lua')
-rw-r--r--plugins/mod_auth_internal_plain.lua10
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/mod_auth_internal_plain.lua b/plugins/mod_auth_internal_plain.lua
index 93b50351..89dd7f1b 100644
--- a/plugins/mod_auth_internal_plain.lua
+++ b/plugins/mod_auth_internal_plain.lua
@@ -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" };