aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-04 01:26:33 +0200
committerKim Alvefur <zash@zash.se>2017-04-04 01:26:33 +0200
commita5aa767a535c15a1a9877453271a8a98cee10094 (patch)
tree3e1de05f25a79d3690fda96bd536eecaf089de0e
parentb975815e96c6fab79db9a5e902236b99bc2dde3e (diff)
downloadprosody-a5aa767a535c15a1a9877453271a8a98cee10094.tar.gz
prosody-a5aa767a535c15a1a9877453271a8a98cee10094.zip
mod_auth_internal_plain: Rename unused self argument [luacheck]
-rw-r--r--plugins/mod_auth_internal_plain.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_auth_internal_plain.lua b/plugins/mod_auth_internal_plain.lua
index db528432..276efb64 100644
--- a/plugins/mod_auth_internal_plain.lua
+++ b/plugins/mod_auth_internal_plain.lua
@@ -66,7 +66,7 @@ end
function provider.get_sasl_handler()
local getpass_authentication_profile = {
- plain = function(sasl, username, realm)
+ plain = function(_, username, realm)
local password = usermanager.get_password(username, realm);
if not password then
return "", nil;