Software /
code /
prosody
Diff
plugins/mod_storage_sql.lua @ 8037:5a802653d50d
mod_storage_sql: Ignore name clash [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Apr 2017 19:45:47 +0200 |
parent | 8036:7ebaefc88b3d |
child | 8038:cd6cef579e82 |
line wrap: on
line diff
--- 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