Software / code / prosody
File
tools/migration/migrator.cfg.lua @ 9061:82dd435c942c
mod_pep_plus: Fix boolean logic precedence (thanks Link Mauve)
In case of 'from' subscription to a JID without node, eg a component,
the condition becomes true and update_subscriptions() is called with
contact_node = nil, which causes a traceback.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 29 Jul 2018 18:34:38 +0200 |
| parent | 4211:9a12fc2baa37 |
| child | 10003:4d702f0c6273 |
line wrap: on
line source
local data_path = "../../data"; input { type = "prosody_files"; path = data_path; } output { type = "prosody_sql"; driver = "SQLite3"; database = data_path.."/prosody.sqlite"; } --[[ input { type = "prosody_files"; path = data_path; } output { type = "prosody_sql"; driver = "SQLite3"; database = data_path.."/prosody.sqlite"; } ]]