[FIX] Don't check for upgrades on start.

This commit is contained in:
LDA 2024-11-11 11:00:26 +01:00
commit 954c588310

View file

@ -58,7 +58,7 @@ ParseeInitData(XMPPComponent *comp)
}
version = GrabString(DbJson(ref), 1, "version");
if (!ParseeIsCompatible(VERSION, version))
if (version && !ParseeIsCompatible(VERSION, version))
{
Log(LOG_WARNING, "Version mismatch(curr=%s db=%s).", VERSION, version);
Log(LOG_WARNING, "Yeah. You may want to _not_ do that.");