Software / code / prosody
Changeset
8057:4a9275594981
mod_auth_internal_plain: Rename unused self argument [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 04 Apr 2017 01:26:33 +0200 |
| parents | 8056:cacf14c218ab |
| children | 8058:1b35a562528d |
| files | plugins/mod_auth_internal_plain.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_auth_internal_plain.lua Tue Apr 04 01:26:26 2017 +0200 +++ b/plugins/mod_auth_internal_plain.lua Tue Apr 04 01:26:33 2017 +0200 @@ -66,7 +66,7 @@ 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;