Software /
code /
prosody
Diff
plugins/mod_auth_internal_plain.lua @ 4762:943f9f860ab4
mod_auth_internal_plain: Remove unused imports
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 03:49:13 +0100 |
parent | 4603:6900c9484834 |
child | 5115:3939960b3c07 |
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" };