# HG changeset patch # User Kim Alvefur # Date 1491068747 -7200 # Node ID 5a802653d50d2845f5a500e26daf61cea42b240c # Parent 7ebaefc88b3dc68f9bd72b9a79afd4a7a0d2199d mod_storage_sql: Ignore name clash [luacheck] diff -r 7ebaefc88b3d -r 5a802653d50d plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Sat Apr 01 19:45:37 2017 +0200 +++ b/plugins/mod_storage_sql.lua Sat Apr 01 19:45:47 2017 +0200 @@ -567,7 +567,7 @@ if command == "upgrade" then -- We need to find every unique dburi in the config local uris = {}; - for host in pairs(prosody.hosts) do + for host in pairs(prosody.hosts) do -- luacheck: ignore 431/host local params = normalize_params(config.get(host, "sql") or default_params); uris[sql.db2uri(params)] = params; end