# HG changeset patch # User Kim Alvefur # Date 1491261969 -7200 # Node ID b08d9295f03635df4d3679be6bf6b96fa768feae # Parent 0ba461b7d9afae0e8cf73029c3b9dd3b0854430e mod_auth_internal_hashed: Rename unused 'self' to _ [luacheck] diff -r 0ba461b7d9af -r b08d9295f036 plugins/mod_auth_internal_hashed.lua --- a/plugins/mod_auth_internal_hashed.lua Tue Apr 04 01:25:33 2017 +0200 +++ b/plugins/mod_auth_internal_hashed.lua Tue Apr 04 01:26:09 2017 +0200 @@ -110,10 +110,10 @@ function provider.get_sasl_handler() local testpass_authentication_profile = { - plain_test = function(sasl, username, password, realm) + plain_test = function(_, username, password, realm) return usermanager.test_password(username, realm, password), true; end, - scram_sha_1 = function(sasl, username, realm) + scram_sha_1 = function(_, username) local credentials = accounts:get(username); if not credentials then return; end if credentials.password then