aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-28 03:55:25 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-28 03:55:25 +0100
commita4d38eb601ccc0d6eae0396f47e9a27becfc12a4 (patch)
tree855b3bb35728efa67bb4afb63d4447df4841dcf2 /plugins
parent5abd2aa3e78aabaeb8a2c7543a751c85a1979742 (diff)
downloadprosody-a4d38eb601ccc0d6eae0396f47e9a27becfc12a4.tar.gz
prosody-a4d38eb601ccc0d6eae0396f47e9a27becfc12a4.zip
mod_auth_internal_hashed: Remove unused imports
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_auth_internal_hashed.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/mod_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua
index 399044ad..65cc8143 100644
--- a/plugins/mod_auth_internal_hashed.lua
+++ b/plugins/mod_auth_internal_hashed.lua
@@ -9,18 +9,11 @@
local datamanager = require "util.datamanager";
local log = require "util.logger".init("auth_internal_hashed");
-local type = type;
-local error = error;
-local ipairs = ipairs;
-local hashes = require "util.hashes";
-local jid_bare = require "util.jid".bare;
local getAuthenticationDatabaseSHA1 = require "util.sasl.scram".getAuthenticationDatabaseSHA1;
-local config = require "core.configmanager";
local usermanager = require "core.usermanager";
local generate_uuid = require "util.uuid".generate;
local new_sasl = require "util.sasl".new;
local nodeprep = require "util.encodings".stringprep.nodeprep;
-local hosts = hosts;
-- COMPAT w/old trunk: remove these two lines before 0.8 release
local hmac_sha1 = require "util.hmac".sha1;
@@ -47,8 +40,6 @@ do
end
-local prosody = _G.prosody;
-
-- Default; can be set per-user
local iteration_count = 4096;