aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_internal_plain.lua
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
commit6132b1f72e57a5250bae29cca2f5831185a2c2c9 (patch)
tree3e1de05f25a79d3690fda96bd536eecaf089de0e /plugins/mod_auth_internal_plain.lua
parent4234f60c4a8e19856674fa48f87f2feca80de33a (diff)
downloadprosody-6132b1f72e57a5250bae29cca2f5831185a2c2c9.tar.gz
prosody-6132b1f72e57a5250bae29cca2f5831185a2c2c9.zip
mod_auth_internal_plain: Rename unused self argument [luacheck]
Diffstat (limited to 'plugins/mod_auth_internal_plain.lua')
-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;