Software /
code /
prosody
Diff
plugins/mod_auth_internal_plain.lua @ 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 |
parent | 5781:b374eb414a32 |
child | 10914:0d7d71dee0a0 |
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;